Activity log for bug #2034526

Date Who What changed Old value New value Message
2023-09-06 08:41:42 Nishant Dash bug added bug
2023-09-06 08:43:14 Nishant Dash description - When I configure this example federate job through the charm config `federate-config`, ``` - job_name: 'mesh-federate' scrape_interval: 2m scrape_timeout: 1m honor_labels: true metrics_path: '/federate' params: 'match[]': - '{__name__=~".+"}' static_configs: - targets: - '<FQDN of other prometheus server>:9090' ``` - The job does not show up. In the Prometheus UI -> Status -> Configuration, I see ``` - job_name: mesh-federate honor_labels: true honor_timestamps: true params: match[]: - '{__name__=~".+"}' scrape_interval: 15s scrape_timeout: 15s metrics_path: /federate scheme: http follow_redirects: true enable_http2: true static_configs: - targets: [] labels: group: promoagents-federate ``` As such, the target is missing and the scrape interval and timeout seem to be from the charm configs `scrape-timeout` and `scrape-interval` instead. - When I configure this example federate job through the charm config `federate-config`, ``` - job_name: 'mesh-federate'   scrape_interval: 2m   scrape_timeout: 1m   honor_labels: true   metrics_path: '/federate'   params:     'match[]':       - '{__name__=~".+"}'   static_configs:     - targets:       - '<FQDN of other prometheus server>:9090' ``` - The job does not show up.   In the Prometheus UI -> Status -> Configuration, I see ``` - job_name: mesh-federate   honor_labels: true   honor_timestamps: true   params:     match[]:     - '{__name__=~".+"}'   scrape_interval: 15s   scrape_timeout: 15s   metrics_path: /federate   scheme: http   follow_redirects: true   enable_http2: true   static_configs:   - targets: []     labels:       group: promoagents-federate ``` As such, the target is missing and the scrape interval and timeout seem to be from the charm configs `scrape-timeout` and `scrape-interval` instead. This charm is stable, 48.
2023-09-08 14:41:50 Nishant Dash merge proposal linked https://code.launchpad.net/~llama-charmers/charm-prometheus2/+git/charm-prometheus2/+merge/450794
2023-10-13 01:24:21 Tianqi Xiao charm-prometheus2: status New Fix Committed
2023-10-13 01:24:24 Tianqi Xiao charm-prometheus2: milestone 23.10
2023-11-01 16:39:15 Tianqi Xiao charm-prometheus2: status Fix Committed Fix Released