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
@Issif for this issue, how do you feel about replacing all non-conforming characters in custom fields and output fields with underscores when they are being sent over to Prometheus and Loki as labels?
Describe the bug
When specifying a custom field with a name that doesn't adhere to the regex for Prometheus metric labels as outlined at https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels, it causes a panic and the sidekick is unable to process the event from Falco; e.g.
How to reproduce it
Expected behaviour
Falco sidekick shouldn't panic when a custom field key doesn't adhere to the regex for Prometheus metric labels.
Screenshots
Environment
Kubernetes
Additional context
Custom fields to Prometheus labels PR: #314
The text was updated successfully, but these errors were encountered: