Created
January 24, 2020 14:37
-
-
Save jt-nti/b7acd8a7d77ee0534a9e50d5df9fbf4c to your computer and use it in GitHub Desktop.
JSONata expression to convert azure pipeline status to lametric DIY app format. Example source data https://dev.azure.com/Hyperledger/Fabric-Chaincode-Java/_apis/build/metrics/daily?branchName=master
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"frames" : [ | |
{ | |
"text": "fabric-chaincode-java" | |
}, | |
{ | |
"chartData": $reverse([value[name='FailedBuilds'].intValue]) | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment