Pin prometheus version for otlp functionality
This commit is contained in:
parent
7550c2970b
commit
38dad64aae
@ -4,13 +4,13 @@ services:
|
||||
|
||||
prometheus:
|
||||
container_name: prometheus
|
||||
image: prom/prometheus:latest
|
||||
image: prom/prometheus:v3.0.1
|
||||
volumes:
|
||||
- ./testnet/monitoring/prometheus.yml:/etc/prometheus/prometheus.yml:z
|
||||
command:
|
||||
- --config.file=/etc/prometheus/prometheus.yml
|
||||
- --storage.tsdb.retention.time=7d
|
||||
- --enable-feature=otlp-write-receiver
|
||||
- --web.enable-otlp-receiver
|
||||
ports:
|
||||
- 127.0.0.1:9090:9090
|
||||
restart: on-failure
|
||||
@ -28,6 +28,8 @@ services:
|
||||
volumes:
|
||||
- ./testnet/monitoring/grafana/grafana.ini:/etc/grafana/grafana.ini:z
|
||||
- ./testnet/monitoring/grafana/datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml:z
|
||||
- ./testnet/monitoring/grafana/dashboards.yml:/etc/grafana/provisioning/dashboards/dashboards.yml:z
|
||||
- ./testnet/monitoring/grafana/dashboards:/var/lib/grafana/dashboards/:z
|
||||
ports:
|
||||
- 9091:3000
|
||||
restart: on-failure
|
||||
|
@ -78,13 +78,13 @@ services:
|
||||
|
||||
prometheus:
|
||||
container_name: prometheus
|
||||
image: prom/prometheus:latest
|
||||
image: prom/prometheus:v3.0.1
|
||||
volumes:
|
||||
- ./testnet/monitoring/prometheus.yml:/etc/prometheus/prometheus.yml:z
|
||||
command:
|
||||
- --config.file=/etc/prometheus/prometheus.yml
|
||||
- --storage.tsdb.retention.time=7d
|
||||
- --enable-feature=otlp-write-receiver
|
||||
- --web.enable-otlp-receiver
|
||||
ports:
|
||||
- 127.0.0.1:9090:9090
|
||||
restart: on-failure
|
||||
@ -102,6 +102,8 @@ services:
|
||||
volumes:
|
||||
- ./testnet/monitoring/grafana/grafana.ini:/etc/grafana/grafana.ini:z
|
||||
- ./testnet/monitoring/grafana/datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml:z
|
||||
- ./testnet/monitoring/grafana/dashboards.yml:/etc/grafana/provisioning/dashboards/dashboards.yml:z
|
||||
- ./testnet/monitoring/grafana/dashboards:/var/lib/grafana/dashboards/:z
|
||||
ports:
|
||||
- 9091:3000
|
||||
restart: on-failure
|
||||
|
@ -456,6 +456,7 @@ where
|
||||
&mut self.block_subscription_sender
|
||||
)
|
||||
.await;
|
||||
tracing::info!(counter.consensus_processed_blocks = 1);
|
||||
}
|
||||
|
||||
_ = slot_timer.next() => {
|
||||
|
@ -14,7 +14,7 @@ RUN cargo install cargo-binstall
|
||||
RUN cargo binstall -y cargo-risczero
|
||||
RUN cargo risczero install
|
||||
|
||||
RUN cargo build --release --all --features metrics
|
||||
RUN cargo build --release
|
||||
|
||||
# NODE IMAGE ----------------------------------------------------------
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
external_labels:
|
||||
monitor: "Monitoring"
|
||||
|
@ -146,4 +146,3 @@ fn create_metadata(app_id: &[u8], index: u64) -> kzgrs_backend::dispersal::Metad
|
||||
index.into(),
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user