yabeda-rb / yabeda-prometheus

Adapter to expose metrics collected by Yabeda plugins to Prometheus
MIT License
110 stars 17 forks source link

Duplicate label 'le' #26

Open rparjun opened 8 months ago

rparjun commented 8 months ago

Metrics exposed has duplicate label 'le'; hence, metrics cannot be imported to Prometheus.

rails_db_runtime_seconds_bucket{action="redirect_to_new_route",controller="home",format="html",le="0.005",method="get",status="200",le="0.01"} 0.0
rails_db_runtime_seconds_bucket{action="redirect_to_new_route",controller="home",format="html",le="0.005",method="get",status="200",le="0.025"} 0.0
rails_db_runtime_seconds_bucket{action="redirect_to_new_route",controller="home",format="html",le="0.005",method="get",status="200",le="0.05"} 0.0
rails_db_runtime_seconds_bucket{action="redirect_to_new_route",controller="home",format="html",le="0.005",method="get",status="200",le="0.1"} 0.0

ENV

gem "prometheus-client", '~> 4.2.0'
gem 'yabeda', '>= 0.12.0'
gem 'yabeda-rails', ">= 0.9.0"
gem 'yabeda-sidekiq', ">= 0.10.0"
gem 'yabeda-prometheus', ">= 0.9.0"
gem 'yabeda-puma-plugin', ">= 0.7.1"

Ruby: 3.2.2