Skip to content

Conversation

@ScottyPoi
Copy link
Collaborator

@ScottyPoi ScottyPoi commented Nov 1, 2024

Refactor of Prometheus metrics in ultralight

  1. Helper functions to create metrics
    • interface MetricParam
      • parameters for metric
        • metric type
        • name
        • help (description)
    • createMetric
      • helper function to create metric
    • createMetrics
      • helper function to generate list of metrics
  2. Dynamic metrics setup for individual networks
    • setupMetrics(networks)
      • added networks: NetworkId[] parameter to setupMetrics
      • method will dynamically create metrics for each active network
  3. Revised list of metrics
    • peers
    • dbSize
    • TODO...(rest of metrics)

@ScottyPoi ScottyPoi added the Draft Still in draft form label Nov 1, 2024
@ScottyPoi ScottyPoi marked this pull request as draft November 1, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Draft Still in draft form

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants