line / promgen

Promgen is a configuration file generator for Prometheus
https://line.github.io/promgen/
MIT License
1.04k stars 150 forks source link

[BUGFIX] Update validator to allow hostname only entries #386

Closed kfdm closed 2 years ago

kfdm commented 2 years ago

One more attempt to fix the edge cases for validating hostnames. We want to allow bare hostnames and fqdn, but not allow any other special characters like an accidental port or path part

References #383 #380