yabeda-rb / yabeda-prometheus

Adapter to expose metrics collected by Yabeda plugins to Prometheus
MIT License
113 stars 18 forks source link

Duplicate label 'le' #26

Open rparjun opened 1 year ago

rparjun commented 1 year 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