github_exporter: fields mismatch between exporter and dashboards #5579
Labels
bug
Something isn't working
frozen-due-to-age
Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
upstream
An issue that must be fixed upstream
What's wrong?
When adding the
github_exporter
integration to the agent and installing the bundled dashboards, the Open Pull Requests dashboard is empty. This is because the query for the metrics is filtering on fieldsuser
andrepo
(i.e.github_repo_pull_request_count{user="grafana",repo="agent"}
) but the metric is not exported into prometheus with auser
field.It looks like the dashboard end of things expects the change in this PR to exist in the data model, but the exporter is not updated to add that key. Maybe this is a result of #5289 ?
Steps to reproduce
github_repo_pull_request_count
metric, and note the only filterable field on it isrepo
.user=$user
filter from the query and note the data now shows up correctly.As an aside there are additional metrics that would be great to have in this integration (as #1845 mentioned), but it's very unclear where to put a PR right now
System information
No response
Software version
grafana-agent-0.37.2-1
Configuration
Logs
No response
The text was updated successfully, but these errors were encountered: