Update cf queries
Closed this issue · 4 comments
Since upgrading, I see the queries for the cf dashboards are no longer reporting stats. This looks like a fairly simple change.
"bosh_deployment=~"$bosh_deployment" needs to be bosh_deployment=~"$bosh_deployment.*"
For example
avg(firehose_http_start_stop_client_request_duration_seconds_sum{environment=~"$environment",bosh_deployment=~"$bosh_deployment",application_id=~"$cf_application_id"} / firehose_http_start_stop_client_request_duration_seconds_count{environment=~"$environment",bosh_deployment=~"$bosh_deployment",application_id=~"$cf_application_id"})
should be
avg(firehose_http_start_stop_client_request_duration_seconds_sum{environment=~"$environment",bosh_deployment=~"$bosh_deployment.*",application_id=~"$cf_application_id"} / firehose_http_start_stop_client_request_duration_seconds_count{environment=~"$environment",bosh_deployment=~"$bosh_deployment.*",application_id=~"$cf_application_id"})
@theautoroboto
Do you want to prepare a PR to address those changes?
Yes, I would be happy to do that.
Closing. Fixed with #423
Closing. Fixed with #423