prometheus-postgresql-adapter icon indicating copy to clipboard operation
prometheus-postgresql-adapter copied to clipboard

Suppot other locales than english

Open martinseener opened this issue 4 years ago • 0 comments

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

martinseener avatar Apr 03 '20 07:04 martinseener