Skip to content

Commit c074acc

Browse files
apollo_proof_manager: add metrics file
1 parent c11506f commit c074acc

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/apollo_proof_manager/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ workspace = true
1414
[dependencies]
1515
apollo_infra.workspace = true
1616
apollo_proof_manager_config.workspace = true
17+
apollo_metrics.workspace = true
1718
apollo_proof_manager_types.workspace = true
1819
async-trait.workspace = true
1920
hex.workspace = true

crates/apollo_proof_manager/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
pub mod communication;
2+
pub mod metrics;
23
pub mod proof_manager;
34
pub mod proof_storage;
45

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
use apollo_infra::metrics::{
2+
InfraMetrics,
3+
LocalClientMetrics,
4+
LocalServerMetrics,
5+
RemoteClientMetrics,
6+
RemoteServerMetrics,
7+
};
8+
use apollo_metrics::define_infra_metrics;
9+
use apollo_proof_manager_types::PROOF_MANAGER_REQUEST_LABELS;
10+
11+
// TODO(Einat): Add the proof manager metrics and panels.
12+
define_infra_metrics!(proof_manager);

0 commit comments

Comments
 (0)