Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

compass metrics

Sridhar Ravula
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 10, 2025 edited

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 ?

1 answer

1 vote
Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 11, 2025

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, 123 or 4.56. In this line, replace $METRIC_VALUE with the numerical value for the metric.

If you don't find that metric useful, you can remove it from the component and/or scorecard.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events