New Relic (Deprecated)

There is a new library for the New Relic micrometer registry here: micrometer-registry-newrelic-telemetry

<dependency>
    <groupId>io.quarkiverse.micrometer.registry</groupId>
    <artifactId>quarkus-micrometer-registry-newrelic</artifactId>
</dependency>

Configuration

Configuration property fixed at build time - All other configuration properties are overridable at runtime

Configuration property

Type

Default

Support for export to New Relic

Support for New Relic will be enabled if Micrometer support is enabled, the New Relic registry extension is enabled and either this value is true, or this value is unset and quarkus.micrometer.registry-enabled-default is true.

Environment variable: QUARKUS_MICROMETER_EXPORT_NEWRELIC_ENABLED

boolean

By default, this extension will create a New Relic MeterRegistry instance.

Use this attribute to veto the creation of the default New Relic MeterRegistry.

Environment variable: QUARKUS_MICROMETER_EXPORT_NEWRELIC_DEFAULT_REGISTRY

boolean

true

New Relic MeterRegistry configuration properties.

A property source for configuration of the New Relic MeterRegistry to push metrics using the New Relic API, see https://micrometer.io/docs/registry/new-relic.

Available values:

Property=Default

Description

apiKey=YOUR_KEY

Define the key used to push data using the New Relic API

accountId=YOUR_ACCOUNT_ID

Define the account ID used to push data using the New Relic API

publish=true

By default, gathered metrics will be published to New Relic when the MeterRegistry is enabled. Use this attribute to selectively disable publication of metrics in some environments.

step=1m

The interval at which metrics are sent to New Relic. The default is 1 minute.

Other Micrometer configuration attributes can also be specified.

Environment variable: QUARKUS_MICROMETER_EXPORT_NEWRELIC

Map<String,String>