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

Add DC and NS support for Envoy metrics #9207

Merged
merged 3 commits into from
Nov 16, 2020
Merged

Add DC and NS support for Envoy metrics #9207

merged 3 commits into from
Nov 16, 2020

Conversation

freddygv
Copy link
Contributor

@freddygv freddygv commented Nov 16, 2020

Updated version of: #9117

This PR updates the tags that we generate for Envoy stats.

Several of these come with breaking changes, since we can't keep two stats prefixes for a filter.

For destination clusters:

  • consul.destination.[namespace|service|subset|hash|datacenter|etc...]
    • This is renamed from consul.[service|etc..] to disambiguate between cluster and listener filter labels.

For upstream listeners:

  • consul.upstream.[namespace|service|datacenter|protocol]

For the local cluster:

  • consul.source.[namespace|service|datacenter]

Note: The delimiter for gateway-related Envoy metrics was updated from _ to ..

@freddygv freddygv added this to the 1.9.0 milestone Nov 16, 2020
@freddygv freddygv requested a review from a team November 16, 2020 22:56
@github-actions github-actions bot added theme/api Relating to the HTTP API interface theme/cli Flags and documentation for the CLI interface theme/envoy/xds Related to Envoy support theme/ui Anything related to the UI labels Nov 16, 2020
Copy link
Member

@rboyer rboyer left a comment

Choose a reason for hiding this comment

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

LGTM

@freddygv freddygv merged commit fe72885 into master Nov 16, 2020
@freddygv freddygv deleted the ui-metrics-ns-2 branch November 16, 2020 23:37
@hashicorp-ci
Copy link
Contributor

🍒 If backport labels were added before merging, cherry-picking will start automatically.

To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/283055.

@hashicorp-ci
Copy link
Contributor

🍒✅ Cherry pick of commit fe72885 onto release/1.9.x succeeded!

hashicorp-ci pushed a commit that referenced this pull request Nov 16, 2020
This PR updates the tags that we generate for Envoy stats.

Several of these come with breaking changes, since we can't keep two stats prefixes for a filter.
freddygv added a commit that referenced this pull request Nov 17, 2020
This PR updates the tags that we generate for Envoy stats.

Several of these come with breaking changes, since we can't keep two stats prefixes for a filter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/api Relating to the HTTP API interface theme/cli Flags and documentation for the CLI interface theme/envoy/xds Related to Envoy support theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants