We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description: rename metric Not in effect, What's the problem?
Config otelcol.processor.transform "app_attr" { error_mode = "ignore" metric_statements { context = "datapoint" statements = [ set(attributes["collector"], "grafana-alloy") where attributes["collector"] == nil, ] }
set(attributes["collector"], "grafana-alloy") where attributes["collector"] == nil
metric_statements { context = "metric" statements = [ `set(name, "azure_successe2elatency_alloy") where name == "azure_successe2elatency_count"`, ] }
The text was updated successfully, but these errors were encountered:
otelcol.processor.transform "app_attr" { error_mode = "ignore" metric_statements { context = "datapoint" statements = [ `set(attributes["collector"], "grafana-alloy") where attributes["collector"] == nil`, ] } metric_statements { context = "metric" statements = [ `set(name, "azure_successe2elatency_alloy") where name == "azure_successe2elatency_count"`, ] }
Sorry, something went wrong.
No branches or pull requests
Description: rename metric Not in effect, What's the problem?
Config
otelcol.processor.transform "app_attr" {
error_mode = "ignore"
metric_statements {
context = "datapoint"
statements = [
set(attributes["collector"], "grafana-alloy") where attributes["collector"] == nil
,]
}
The text was updated successfully, but these errors were encountered: