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

Rename "label" to "attribute" in expression matcher DSL #5862

Conversation

tigrannajaryan
Copy link
Member

The expression matcher used the old terminology in functions
HasLabel/Label. The current Otel term for metrics dimension is
"attribute".

I renamed the functions to HasAttribute/Attribute and kept HasLabel/Label
as aliases for now to avoid breaking existing configurations. HasLabel/Label
are declared deprecated, we can remove them in a few months / before
declaring the config stable.

The expression matcher used the old terminology in functions
HasLabel/Label. The current Otel term for metrics dimension is
"attribute".

I renamed the functions to HasAttribute/Attribute and kept HasLabel/Label
as aliases for now to avoid breaking existing configurations. HasLabel/Label
are declared deprecated, we can remove them in a few months / before
declaring the config stable.
Copy link
Member

@bogdandrutu bogdandrutu left a comment

Choose a reason for hiding this comment

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

I think we should finalize the configuration that we want for "filtering" before making more changes. @punya promised long time ago to own this.

@punya
Copy link
Member

punya commented Oct 21, 2021

Ack. I will aim to have something we can discuss by the next SIG meeting.

@tigrannajaryan tigrannajaryan deleted the expr-metric-label-to-attr branch March 3, 2022 16:50
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.

4 participants