HI Team,
am working on the compass github actions integrations, i can able to configure the build success rate and all other metrics except the "Change failure rate"
1)need suggestion on what is this metric ?
2)is this metrics related to deployment failure or service failure in production
in the below curl command
need inputs on this
any suggestions on this ?
curl --request POST \ --url https://prospermarketplace.atlassian.net/gateway/api/compass/v1/metrics \ --user "$USER_EMAIL:$USER_API_KEY" \ --header "Accept: application/json" \ --header "Content-Type: application/json" \ --data "{ \"metricSourceId\": \"ari:cloud:compass:630bb765-afa4-4c7b-93f8-a40925b25929:metric-source/973a5e36-3928-4b46-afee-0910ab5551f9/cf2bf18b-85ce-4753-bb24-15ff46e649aa\", \"value\": $METRIC_VALUE, \"timestamp\": \"$(date -u +'%Y-%m-%dT%H:%M:%SZ')\" }"
what is this metric value ? how it is calculated ?
Hi @Sridhar Ravula and welcome to the Community
Change failure rate
The percentage of changes that failed to apply or impacted the component. Based on the last 28 days.
$METRIC_VALUE is the value that you want to pass in. For this metric, it is a numerical value that represents a percentage.
Here is some additional documentation: https://developer.atlassian.com/cloud/compass/components/push-metric-values-using-a-curl-command/
\"value\": $METRIC_VALUE, specifies the value you want to push for your component’s metric. The value is a number, for example,123or4.56. In this line, replace$METRIC_VALUEwith the numerical value for the metric.
If you don't find that metric useful, you can remove it from the component and/or scorecard.
If you're not seeing the metrics you expect, I'd also check whether the data source is actually connected and has had enough time to sync. Some metrics don't appear immediately, and permissions can also affect what's visible. It might be worth verifying both before digging any deeper.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.