Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Add label to message.broadcast and metrics #146

Merged
merged 1 commit into from
Sep 8, 2020
Merged

Conversation

feymartynov
Copy link
Contributor

No description provided.

src/app/context.rs Outdated Show resolved Hide resolved
src/app/metrics/dynamic_stats_collector.rs Outdated Show resolved Hide resolved
src/app/metrics/dynamic_stats_collector.rs Outdated Show resolved Hide resolved
src/app/metrics/dynamic_stats_collector.rs Outdated Show resolved Hide resolved
src/app/metrics/dynamic_stats_collector.rs Outdated Show resolved Hide resolved
src/app/metrics/dynamic_stats_collector.rs Outdated Show resolved Hide resolved
Self { tx, back_rx }
}

pub(crate) fn collect(&self, key: impl Into<String>, value: usize) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тут нужны этот impl и value?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В принципе можно и без них, т.к. это сейчас в одном месте используется, но это типа, чтобы не зашиваться на конкретный кейс и переиспользовать потом ещё где-то.

@feymartynov feymartynov merged commit 9218acc into master Sep 8, 2020
@feymartynov feymartynov deleted the feature/ULMS-740 branch September 8, 2020 09:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants