Skip to content

Conversation

@RTJL
Copy link

@RTJL RTJL commented Nov 4, 2025

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

  • PR has a meaningful title or PR has the no-changelog label attached
  • Feature or bugfix has tests
  • Git history is clean
  • If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo
  • If this PR includes a log pipeline, please add a description describing the remappers and processors.

Additional Notes

Anything else we should know when reviewing?

@RTJL RTJL requested review from a team as code owners November 4, 2025 00:47
@rtrieu rtrieu self-assigned this Nov 4, 2025
Copy link
Contributor

@rtrieu rtrieu left a 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.

@RTJL RTJL requested a review from a team as a code owner November 5, 2025 03:25
@RTJL RTJL force-pushed the add-grafana-integration branch from 514e33b to b9d8d5d Compare November 8, 2025 07:23
@RTJL RTJL requested a review from rtrieu November 14, 2025 04:26
@RTJL
Copy link
Author

RTJL commented Nov 19, 2025

hi @rtrieu, could i trouble you to take a look at it again? thanks!

Copy link
Member

@NouemanKHAL NouemanKHAL left a 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.
Copy link
Member

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')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
python = ["3.12"]
python = ["3.13"]

fix: we have upgraded to python 3.13


## Troubleshooting

Need help? Contact [Datadog support][3].
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

@NouemanKHAL NouemanKHAL self-assigned this Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants