prometheus / prometheus/exporter-toolkit
feature: Collector package
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 311
- Forks
- 109
- Avg merge
- 3d 59m
- Merged PRs (30d)
- 6
Description
Add a collector package that makes it easy to build collector "plugins". This allows users to create exporters by assembling packages from other exporters.
For example, the node_exporter has this feautre:
func registerCollector(collector string, isDefaultEnabled bool, factory func(logger log.Logger) (Collector, error))
Some collectors will need custom configuration passed in, or connection information for downstream services (MySQL, PostgreSQL, BIND, etc).
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
The issue names no files, tests, or entry points; start by examining the referenced node_exporter registerCollector pattern and how this repository currently builds exporters. Done means the collector package supports composing exporter collectors while accounting for custom configuration and downstream connection information such as MySQL, PostgreSQL, and BIND.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100