newrelic / deployment-marker-action

Github Action for recording a Deployment Marker in New Relic
https://github.com/marketplace/actions/new-relic-application-deployment-marker
Apache License 2.0
58 stars 23 forks source link

NRQL query for deployment marker #48

Open rishikeshvarvade opened 11 months ago

rishikeshvarvade commented 11 months ago

Is there option to use New Relic NRQL query to customize deployment markers only for marking the 'running' state pods rather than marking every depoyment?

NRQL to use: FROM Metric SELECT latest(if(k8s.pod.isReady = 1, 'True', 'False')) as 'Ready' WHERE entity.guid = 'MjAzMzk5NXxJTkZSQXxOQXw2NTk3NjM2NTUwNTgzNzM0ODY2'