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
What did you do?
While running an alertmanager instance using the Alertmanager CRD exposed by Prometheus Operator, we discovered that when UnmarshalJSON() method of SecretURL type is called it returns the url itself as part of the error. What did you expect to see?
The secret URL should not have been logged as part of the error. What did you see instead? Under which circumstances?
The secret URL was logged as part of error for parsing a wrong URL.
Environment
System information:
Linux 5.15.153.1-microsoft-standard-WSL2 x86_64
What did you do?
While running an alertmanager instance using the Alertmanager CRD exposed by Prometheus Operator, we discovered that when UnmarshalJSON() method of SecretURL type is called it returns the url itself as part of the error.
What did you expect to see?
The secret URL should not have been logged as part of the error.
What did you see instead? Under which circumstances?
The secret URL was logged as part of error for parsing a wrong URL.
Environment
System information:
Linux 5.15.153.1-microsoft-standard-WSL2 x86_64
Alertmanager version:
alertmanager, version 0.27.0 (branch: main, revision: 730bd75)
build user: codeknight@LAPTOP-VI2SBH3S
build date: 20240619-18:46:55
go version: go1.22.0
platform: linux/amd64
tags: netgo
Prometheus version:
Alertmanager configuration file:
Logs from the prometheus operator rather than from the alertmanager itself while using config.SecretURL as the type for the URL.
The text was updated successfully, but these errors were encountered: