Closed nulu137 closed 1 year ago
This is going to be a question for @gdey to look at as he did the implementation.
@gdey did you have time to take a look? I'd be happy to support with some direction from you.
I'm so sorry; I dropped the ball on this one. I've been traveling quite a bit since October, and with the holidays I totally forgot about this issue. I will make time to look at it today.
Hope your travels are not all that bad and you were able to get some good time off in between the years, @gdey :)
I took a look and addressed the issue by adding the provider name to the metric when there is more than one provider present - see my PR. I thought this is a sensible quick fix, as the alternative would mean a more significant refactor of the observability package. Wdyt @ARolek and @gdey?
I've run into an issue with prometheus if i have multiple maps defined in my config.toml . Tegola tries to register one metrics collector for every map defined. Can someone take a look at it or give me a hint how to configure prometheus with multiple maps inside one config.toml?
Actual Behavior
tegola_error.log
Expected Behavior
tegola starts up and exposes "/metrics" url
Steps to reproduce the issue.
Generate two maps from two different providers in your config.toml + prometheus observer:
Sanitized config.toml
`
`