Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default metrics labels #827

Merged
merged 2 commits into from
Sep 14, 2021
Merged

Default metrics labels #827

merged 2 commits into from
Sep 14, 2021

Conversation

pepov
Copy link
Member

@pepov pepov commented Sep 11, 2021

Q A
Bug fix? yes
New feature? yes
API breaks? no
Deprecations? no
Related tickets partially fixes #825
License Apache 2.0

What's in this PR?

Add default_metrics_labels for the default route with the flow id.

Why?

Because right now the default flow id is not available in the metrics when metrics is enabled for fluentd. Along with https://github.com/banzaicloud/fluent-plugin-label-router/issues/16 it actually fails and unable to process messages.

Copy link
Contributor

@siliconbrain siliconbrain left a comment

Choose a reason for hiding this comment

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

lgtm

@pepov pepov force-pushed the default_metrics_labels branch from 782ccb2 to 5860532 Compare September 12, 2021 16:53
@pepov pepov marked this pull request as ready for review September 13, 2021 06:09
@pepov pepov requested a review from ahma September 13, 2021 06:09
Copy link
Contributor

@ahma ahma left a comment

Choose a reason for hiding this comment

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

Thanks

@ahma ahma mentioned this pull request Sep 14, 2021
3 tasks
@pepov pepov closed this in #831 Sep 14, 2021
@pepov pepov reopened this Sep 14, 2021
@pepov pepov force-pushed the default_metrics_labels branch from 0afa3ce to f4e4a24 Compare September 14, 2021 19:58
@pepov pepov merged commit 71df0fa into master Sep 14, 2021
@pepov pepov deleted the default_metrics_labels branch September 14, 2021 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no implicit conversion of nil into Hash error from fluent-plugin-label-router
3 participants