AptlyStar

New Relic

Query observability data and record deployments in New Relic

Nutzungsanweisungen

Integrate New Relic into workflows. Run NRQL queries, search monitored entities, fetch entity details, and record deployment change events.

Tools

new_relic_nrql_query

Run a NRQL query against a New Relic account using NerdGraph.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaNew Relic user API key for NerdGraph
regionstringNeinNew Relic data center region: us or eu
accountIdnumberJaNew Relic account ID to query
nrqlstringJaNRQL query to execute
timeoutnumberNeinOptional query timeout in seconds

Ausgabe

ParameterTypBeschreibung
resultsarrayNRQL result rows. Row fields depend on the query projection.
resultCountnumberNumber of NRQL result rows returned

new_relic_search_entities

Search New Relic entities by name, GUID, domain type, tags, or reporting state.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaNew Relic user API key for NerdGraph
regionstringNeinNew Relic data center region: us or eu
querystringJaEntity search query, for example: name like "api" or domainType = "APM-APPLICATION"
cursorstringNeinPagination cursor from a previous entity search

Ausgabe

ParameterTypBeschreibung
countnumberTotal number of entities matching the query
querystringEntity search query New Relic executed
entitiesarrayMatching New Relic entities
↳ guidstringEntity GUID
↳ namestringEntity name
↳ entityTypestringEntity type
nextCursorstringCursor for the next page of results

new_relic_get_entity

Fetch a New Relic entity by GUID.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaNew Relic user API key for NerdGraph
regionstringNeinNew Relic data center region: us or eu
guidstringJaEntity GUID

Ausgabe

ParameterTypBeschreibung
entityobjectNew Relic entity details
↳ guidstringEntity GUID
↳ namestringEntity name
↳ entityTypestringEntity type

new_relic_create_deployment_event

Record a deployment change event in New Relic change tracking.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaNew Relic user API key for NerdGraph
regionstringNeinNew Relic data center region: us or eu
entityGuidstringJaGUID of the entity associated with the deployment
versionstringJaDeployment version, release name, or commit SHA
shortDescriptionstringNeinShort description of the deployment
descriptionstringNeinLonger deployment description
changelogstringNeinDeployment changelog text or URL
commitstringNeinCommit SHA or identifier associated with the deployment
deepLinkstringNeinURL to the deployment, build, or release details
userstringNeinUser or automation that performed the deployment
groupIdstringNeinOptional group ID to correlate related changes
customAttributesjsonNeinCustom change event metadata as key-value pairs with string, number, or boolean values
deploymentTypestringNeinDeployment type: basic, blue green, canary, rolling, or shadow
timestampnumberNeinEvent timestamp in milliseconds since Unix epoch

Ausgabe

ParameterTypBeschreibung
eventobjectCreated New Relic change tracking event
↳ changeTrackingIdstringNew Relic change tracking ID
↳ customAttributesjsonCustom attributes on the change tracking event
↳ categorystringChange category
↳ categoryAndTypestringCombined category and type
↳ typestringChange type
↳ shortDescriptionstringShort change description
↳ descriptionstringChange description
↳ timestampnumberChange timestamp in milliseconds
↳ userstringUser associated with the change
↳ groupIdstringChange group ID
↳ entityobjectEntity associated with the change
↳ guidstringEntity GUID
↳ namestringEntity name
messagesarrayMessages returned by New Relic for the created change event

On this page