Skip to content

WIP: Prometheus metrics and endpoint#9

Draft
HazardDede wants to merge 7 commits into
developfrom
feature/metrics
Draft

WIP: Prometheus metrics and endpoint#9
HazardDede wants to merge 7 commits into
developfrom
feature/metrics

Conversation

@HazardDede
Copy link
Copy Markdown
Owner

@HazardDede HazardDede commented Oct 24, 2019

Ideas for metrics:

  • Generated events by a pull
  • Failed polls
  • Execution time for poll / cron
  • Events processed by push
  • Failed pushes
  • Execution time for push (sync / async)
  • Events processed by udf
  • Failed udfs
  • Execution time for udf
  • Poll restarts

Other stuff:

  • Start metrics server with console argument (--metrics=8080)
  • Start metrics server with environment variable (for docker)
  • Add type of the component as a label

Bugs:

  • Calling the async method from sync (or vice versa) will track the calling twice

@HazardDede HazardDede added the enhancement New feature or request label Oct 24, 2019
@HazardDede HazardDede self-assigned this Oct 24, 2019
@HazardDede HazardDede changed the base branch from master to develop January 25, 2020 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant