8000 e2e: Generate prometheus.yaml when Prometheus is enabled · Issue #899 · cometbft/cometbft · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
e2e: Generate prometheus.yaml when Prometheus is enabled #899
Closed
@hvanz

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']

Metadata

Metadata

Assignees

Labels

e2eRelated to our end-to-end testsenhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0