Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xDarksome committed Jun 13, 2024
1 parent 3768c4c commit 92f39cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
with:
github_token: ${{ secrets.github_token }}
locale: "US"
ignore: cancelled

cocogitto:
name: cocogitto
Expand Down
16 changes: 8 additions & 8 deletions crates/future_metrics/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ use {

/// Target specified in [`metrics::Metadata`] for all metrics produced by this
/// crate.
pub const METADATA_TARGET: &'static str = "future_metrics";
pub const METADATA_TARGET: &str = "future_metrics";

/// Metric names used by this crate.
pub mod metric_name {
pub const FUTURE_DURATION: &'static str = "future_duration";
pub const FUTURE_DURATION: &str = "future_duration";

pub const FUTURES_CREATED: &'static str = "futures_created";
pub const FUTURES_STARTED: &'static str = "futures_started";
pub const FUTURES_FINISHED: &'static str = "futures_finished";
pub const FUTURES_CANCELLED: &'static str = "futures_cancelled";
pub const FUTURES_CREATED: &str = "futures_created";
pub const FUTURES_STARTED: &str = "futures_started";
pub const FUTURES_FINISHED: &str = "futures_finished";
pub const FUTURES_CANCELLED: &str = "futures_cancelled";

pub const FUTURE_POLL_DURATION: &'static str = "future_poll_duration";
pub const FUTURE_POLL_DURATION_TOTAL: &'static str = "future_poll_duration_total";
pub const FUTURE_POLL_DURATION: &str = "future_poll_duration";
pub const FUTURE_POLL_DURATION_TOTAL: &str = "future_poll_duration_total";
}

/// Creates a new label identifying a future by its name.
Expand Down

0 comments on commit 92f39cb

Please sign in to comment.