bryanklewis / prometheus-eventhubs-adapter

Use Azure Event Hubs as a remote storage for Prometheus
Apache License 2.0
10 stars 12 forks source link

config parsing error #26

Open IMAMBAKS opened 2 years ago

IMAMBAKS commented 2 years ago

When starting the container the following error occurs:

{"level":"error","error":"While parsing config: (1, 1): parsing error: keys cannot contain \u007f character","timestamp":"2022-02-25T13:26:27Z","message":"Error loading config file"}

What does this mean?

bryanklewis commented 2 years ago

Thats the unicode character code for delete. See https://www.fileformat.info/info/unicode/char/7f/index.htm It most likely means you need to 'quote' a value or have a space somewhere or other typo/format issue.

UncleTawnos commented 1 year ago

actually it has nothing to do with config file. It looks like an error in viper parsing. It doesn't happen on k8s but happen on all docker instances I've tested. Adapter itself works, just throws error.