Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New github_metrics source #993

Open
binarylogic opened this issue Oct 8, 2019 · 1 comment
Open

New github_metrics source #993

binarylogic opened this issue Oct 8, 2019 · 1 comment
Labels
domain: metrics Anything related to Vector's metrics events domain: sources Anything related to the Vector's sources needs: approval Needs review & approval before work can begin. source: new A request for a new source type: feature A value-adding code addition that introduce new functionality.

Comments

@binarylogic
Copy link
Contributor

binarylogic commented Oct 8, 2019

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. New cmd or exec source #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. New prometheus source #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.

@binarylogic binarylogic added type: new feature needs: approval Needs review & approval before work can begin. labels Oct 8, 2019
@ghost
Copy link

ghost commented Dec 8, 2019

I'm not sure that this still would be called github_metric, but I'd like such source to also generate raw events, such as commits, pull requests, comments, and other event types using the event API.

@ghost ghost mentioned this issue Dec 8, 2019
@binarylogic binarylogic added type: feature A value-adding code addition that introduce new functionality. and removed type: new feature labels Jun 16, 2020
@binarylogic binarylogic added domain: metrics Anything related to Vector's metrics events domain: sources Anything related to the Vector's sources labels Aug 7, 2020
@jszwedko jszwedko added the source: new A request for a new source label Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: metrics Anything related to Vector's metrics events domain: sources Anything related to the Vector's sources needs: approval Needs review & approval before work can begin. source: new A request for a new source type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants