You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
failed to get config: cannot resolve the configuration: cannot convert the confmap.Conf: environment variable "2" has invalid name: must match regex ^[a-zA-Z_][a-zA-Z0-9_]*$
Collector version
v0.112.0
Environment information
Environment
OS: (e.g., "Ubuntu 22.04")
go version go1.22.8 linux/amd64
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
Seems like two dollars are not taking correctly. is that the issue ?
failed to get config: cannot resolve the configuration: cannot convert the confmap.Conf: environment variable "2" has invalid name: must match regex ^[a-zA-Z_][a-zA-Z0-9_]*$
Thank you
The text was updated successfully, but these errors were encountered:
@developer1622 I wasn't able to reproduce your issue locally. Are you running in kubernetes? If so you need to deal with the fact that k8s wants to escape $$ also, so you need $$$.
Component(s)
receiver/prometheus
What happened?
Description
Thank you.
Previously following scrape config used to work fine, but with the new latest changes , I am getting error, attached
Steps to Reproduce
Run the above scrape config, results in the error
Expected Result
No error
Actual Result
Collector version
v0.112.0
Environment information
Environment
OS: (e.g., "Ubuntu 22.04")
go version go1.22.8 linux/amd64
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
Seems like two dollars are not taking correctly. is that the issue ?
failed to get config: cannot resolve the configuration: cannot convert the confmap.Conf: environment variable "2" has invalid name: must match regex ^[a-zA-Z_][a-zA-Z0-9_]*$
Thank you
The text was updated successfully, but these errors were encountered: