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

feat: prometheus #201

Merged
merged 8 commits into from
Feb 24, 2025
Merged

feat: prometheus #201

merged 8 commits into from
Feb 24, 2025

Conversation

ToniRamirezM
Copy link
Contributor

@ToniRamirezM ToniRamirezM commented Feb 10, 2025

Description

Adds prometheus metrics endpoint.

Closes #195

Related PR on Kurtosis repo:

0xPolygon/kurtosis-cdk#476

@ToniRamirezM ToniRamirezM self-assigned this Feb 10, 2025
@ToniRamirezM ToniRamirezM marked this pull request as ready for review February 10, 2025 16:45
@ToniRamirezM ToniRamirezM changed the base branch from main to develop February 10, 2025 16:46
@@ -0,0 +1,677 @@
package prometheus
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From where is this code comming from? Do we need all of this functionalities?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It comes from the metric package in zkevm-node. We just need counters now, but if in the future we need any other kind of metric, it will be already there ready to be used.

@ToniRamirezM ToniRamirezM merged commit 47b4945 into develop Feb 24, 2025
11 checks passed
@ToniRamirezM ToniRamirezM deleted the feature/prometheus branch February 24, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add monitoring using prometheus
4 participants