This is an example of how you can use ZIO Metrics Connectors (Micrometer) bridged to OpenTelemetry to send metrics to New Relic by utilizing their OpenTelemetry gRPC endpoint.
This requires a New Relic Ingest License Key.
Adapted from the New Relic Micrometer shim example

See the New Relic Java Agent branch for an alternative