Forums

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

compass metrics

Sridhar Ravula
Contributor
April 10, 2025

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 ?

3 answers

1 accepted

2 votes
Answer accepted
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.

0 votes
Ethena Casper
July 30, 2026

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.

0 votes
Sridhar Ravula
Contributor
May 29, 2025

Thanks @Tyler T 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events