canonical / grafana-agent-operator

This charmed operator automates the operational procedures of running Grafana Agent, an open-soruce telemetry collector.
https://charmhub.io/grafana-agent
Apache License 2.0
4 stars 8 forks source link

remove regex in _instance_name #102

Closed lucabello closed 2 months ago

lucabello commented 2 months ago

Issue

Closes #100.

Solution

Simply return the FQDN as it is, instead of doing the regex substitution, since label values can be any unicode character.