timescale / prometheus-postgresql-adapter

Use PostgreSQL as a remote storage database for Prometheus
Apache License 2.0
335 stars 66 forks source link

Suppot other locales than english #110

Open martinseener opened 4 years ago

martinseener commented 4 years ago

We use a PG cluster with de_DE.UTF-8 layout and thus our messages are also in german. The line below is an example where the code that expects english messages wouldn't work anymore for us. For this particular example we fixed it by changing this string to "existiert bereits". Are there any plans to support this? Thanks alot.

https://github.com/timescale/prometheus-postgresql-adapter/blob/7b6d24096ce522a72065c0cf1e0460e00c465a35/pkg/postgresql/client.go#L172