Prometheus as data source in Grafana
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 717
- Forks
- 1.2k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 19
Description
After following this guide, i have Prometheus data at http://localhost:2112/metrics.
However, if I try to add Prometheus as a data source in Grafana, Grafana tries to query api/v1/query, which doesn't have anything.
What am I missing?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with content/docs/guides/go-application.md at the linked section, then review how the guide's metrics endpoint relates to Grafana's data-source query. Clarify the missing setup or limitation so a reader can connect the example application to Grafana and verify the result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, grafana
- Domain
- documentation, observability
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100