-
Notifications
You must be signed in to change notification settings - Fork 811
Add grafana integration #2844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add grafana integration #2844
Conversation
rtrieu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR! I've left you some feedback and suggestions mainly around consistency and clarity.
Co-authored-by: Rosa Trieu <[email protected]>
Co-authored-by: Rosa Trieu <[email protected]>
514e33b to
b9d8d5d
Compare
|
hi @rtrieu, could i trouble you to take a look at it again? thanks! |
NouemanKHAL
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @RTJL ,
Thank you for your contribution! I reviewed your PR, overall everything LGTM!
I left few comments to address CI validation errors and some nits.
| @@ -0,0 +1,168 @@ | |||
| # This file is autogenerated. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you run ddev validate models grafana -s to sync the files? The Validate repository / run / Validate job is addressing this.
|
|
||
| @pytest.fixture(scope='session') | ||
| def dd_environment(): | ||
| compose_file = str(Path(__file__).parent.absolute() / 'docker' / 'docker-compose.yaml') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| compose_file = str(Path(__file__).parent.absolute() / 'docker' / 'docker-compose.yaml') | |
| compose_file = str((Path(__file__).resolve().parent / "docker" / "docker-compose.yaml")) |
nit:
| [env.collectors.datadog-checks] | ||
|
|
||
| [[envs.default.matrix]] | ||
| python = ["3.12"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| python = ["3.12"] | |
| python = ["3.13"] |
fix: we have upgraded to python 3.13
|
|
||
| ## Troubleshooting | ||
|
|
||
| Need help? Contact [Datadog support][3]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Need help? Contact [Datadog support][3]. | |
| Need help? Contact the [maintainer](https://github.com/DataDog/integrations-extras/blob/master/grafana/manifest.json) of this integration. |
fix: troubleshooting contact should refer to the maintainer
What does this PR do?
Create a new integration for
Grafana.Motivation
What inspired you to submit this pull request?
I want to use Datadog to monitor the status of Grafana instances without exporting as custom metrics.
Review checklist
no-changeloglabel attachedAdditional Notes
Anything else we should know when reviewing?