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

Add metrics endpoint to the newrelic daemon #1015

Open
blkperl opened this issue Feb 5, 2025 · 0 comments
Open

Add metrics endpoint to the newrelic daemon #1015

blkperl opened this issue Feb 5, 2025 · 0 comments
Labels
enhancement New feature or request PM PM to review against project priorities.

Comments

@blkperl
Copy link

blkperl commented Feb 5, 2025

Summary

Operators responsible for maintaining newrelic daemons only have logs for visibility into problems with the daemon. Adding a metric endpoint would allow for operators to more easily identify problems with data collection.

Desired Behavior

The desired behavior is a prometheus/openmetrics endpoint that is accessible on every newrelic daemon that can be queried for metrics and exported to metric aggregation services using normal prometheus tooling.

This will allow operators to quickly debug issues and configure Horizontal Pod Autoscalers to scale on certain metrics in Kubernetes environments.

The following metrics would be useful

  • applications_connected # can be used by an HPA to schedule additional newrelic pods
  • agents_connected # can be used to determine how many pods are connected
  • request_total # can be used to calculate requests per second
  • request_errors_ total # can be used to determine how many requests were not sent to api.newrelic.com
  • request_sent_kilobytes_total # can be used to calculate bytes per second

Possible Solution

The is can be accomplished with prometheus or opentelemetry sdks

Additional context

@blkperl blkperl added the enhancement New feature or request label Feb 5, 2025
@zsistla zsistla added the PM PM to review against project priorities. label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PM PM to review against project priorities.
Projects
None yet
Development

No branches or pull requests

2 participants