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

Prometheus metric endpoint #667

Open
trajano opened this issue Nov 2, 2023 · 2 comments
Open

Prometheus metric endpoint #667

trajano opened this issue Nov 2, 2023 · 2 comments

Comments

@trajano
Copy link

trajano commented Nov 2, 2023

Summary

Expose metrics to an endpoint that can be read by Prometheus

Steps to reproduce the problem

Your Setup

Docker Swarm on a pi

Operating system and version?

DietPi

Node.js version?

Cronicle software version?

Are you using a multi-server setup, or just a single server?

Are you using the filesystem as back-end storage, or S3/Couchbase?

Can you reproduce the crash consistently?

Log Excerpts

@trajano
Copy link
Author

trajano commented Nov 13, 2023

Duplicate of #317

@trajano
Copy link
Author

trajano commented Nov 13, 2023

To add this I think we need to add the prom-client dependency as documented here then expose the metrics endpoint.

Following that export the metrics that are already captured to the prom client instance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant