Skip to content

e2e: Generate prometheus.yaml when Prometheus is enabled #899

Closed

Description

@hvanz

Feature Request

Summary

When Promethus is enabled in the manifest, create automatically a configuration file for Prometheus that includes essential settings and the IP addresses of the nodes in the manifest.

For example, for test/e2e/networks/simple.toml, which has 4 nodes, the content of the yaml file could be:

global:
  scrape_interval: 1s

scrape_configs:
  - job_name: 'validator01'
    static_configs:
      - targets: ['localhost:6701']

  - job_name: 'validator02'
    static_configs:
      - targets: ['localhost:6702']

  - job_name: 'validator03'
    static_configs:
      - targets: ['localhost:6703']

  - job_name: 'validator04'
    static_configs:
      - targets: ['localhost:6704']

Activity

  1. added
    enhancement
    e2e
    on May 31, 2023
  2. changed the title [-]e2e: create prometheus.yaml when Prometheus is enabled[/-] [+]e2e: Generate prometheus.yaml when Prometheus is enabled[/+] on May 31, 2023
  3. moved this from Todo to Ready for Review in CometBFT 2023on Jun 12, 2023
  4. moved this from Ready for Review to Done in CometBFT 2023on Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

e2eenhancement

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions