Skip to content

Commit 243494a

Browse files
committed
Address comments
1 parent e2afff2 commit 243494a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pythnet-watcher"
3-
version = "1.0.0"
3+
version = "1.1.0"
44
edition = "2021"
55

66
[dependencies]

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ async fn run_listener(input: RunListenerInput) -> anyhow::Result<()> {
171171
"success"
172172
};
173173
let duration = started.elapsed();
174-
metrics::histogram!("decode_and_verify_update_duration").record(
174+
metrics::histogram!("decode_and_verify_observed_messages_duration").record(
175175
duration.as_secs_f64(),
176176
);
177-
metrics::counter!("decode_and_verify_update", &[("status", status)]).increment(1);
177+
metrics::counter!("decode_and_verify_observed_messages", &[("status", status)]).increment(1);
178178
if let Ok(unreliable_data) = unreliable_data {
179179
tokio::spawn({
180180
let (api_clients, signer) = (input.api_clients.clone(), input.signer.clone());

0 commit comments

Comments
 (0)