vectordotdev / vectordotdev/vector

New `github_metrics` source

Open
#993 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

domain: metrics domain: sources needs: approval source: new
Dominant language
Rust
Stars
22.6k
Forks
2.3k
Avg merge
1d 7h
Merged PRs (30d)
146

Description

I'm opening this to start a broader discussion around plugins and integrations with external services. This idea came about after looking into https://github.com/infinityworks/github-exporter. This is an interesting way to pull data from an API/service on an interval. For this source, specifically, we would pull gauges of star counts, release download counts, repo page view counts, and more.

Open questions:

  1. Is this better provided as a plugin? And do we want to explore a plugin system?
  2. #992 is an interesting way to solve this. You could provide a simple github_stats command that would expose the metrics data when executed.
  3. #991 is also an interesting way to solve this with the aforementioned Github exporter.
  4. We could explore a generic http source that polls an endpoint and parses the response.

There are a lot of big questions we need to answer before we can begin work on this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No implementation files or tests are named. Start by reviewing the github-exporter reference and the approaches discussed in issues #992 and #991, then resolve whether this should be a plugin, command, exporter integration, or generic HTTP source. Done means a direction is chosen and the scope for collecting GitHub metrics is defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, rust
Domain
api, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.