newrelic / newrelic-jfr-reporter

Java agent extension to send JFR data to MELT endpoints via telemetry SDK
Apache License 2.0
2 stars 2 forks source link

Error in logs: An error occurred adding extension #10

Closed breedx-nr closed 2 years ago

breedx-nr commented 4 years ago

Migrated to this repo from https://github.com/newrelic/newrelic-jfr-core/issues/63

2020-08-07T08:53:05,643+0000 [1 1] com.newrelic INFO: Writing to New Relic log file: /newrelic/logs/newrelic_agent.log
2020-08-07T08:53:05,643+0000 [1 1] com.newrelic INFO: JRE vendor AdoptOpenJDK version 14.0.2
2020-08-07T08:53:05,643+0000 [1 1] com.newrelic INFO: JVM vendor AdoptOpenJDK OpenJDK 64-Bit Server VM version 14.0.2+12
2020-08-07T08:53:05,644+0000 [1 1] com.newrelic INFO: OS Linux version 4.14.171-105.231.amzn1.x86_64 arch amd64
2020-08-07T08:53:05,644+0000 [1 1] com.newrelic INFO: Agent Host: 8cfd6fb03cb4 IP: 192.168.0.9
2020-08-07T08:53:05,644+0000 [1 1] com.newrelic INFO: New Relic Agent v5.14.0 is initializing...
2020-08-07T08:53:06,910+0000 [1 1] com.newrelic INFO: Attaching New Relic JFR Monitor
2020-08-07T08:53:07,357+0000 [1 1] com.newrelic INFO: BatchDataSender configured with endpoint https://metric-api.newrelic.com
2020-08-07T08:53:07,358+0000 [1 1] com.newrelic INFO: BatchDataSender configured with audit logging enabled.
2020-08-07T08:53:07,362+0000 [1 1] com.newrelic INFO: BatchDataSender configured with endpoint https://insights-collector.newrelic.com/v1/accounts/events
2020-08-07T08:53:07,362+0000 [1 1] com.newrelic INFO: BatchDataSender configured with audit logging enabled.
2020-08-07T08:53:07,373+0000 [1 1] com.newrelic INFO: Starting New Relic JFR Monitor with ingest URI => https://metric-api.newrelic.com
2020-08-07T08:53:07,393+0000 [1 15] com.newrelic INFO: Refreshing the MetricBuffer for the New Relic JFR Monitor
2020-08-07T08:53:07,395+0000 [1 15] com.newrelic INFO: New Relic JFR Monitor: Sending with remaining old batch...
2020-08-07T08:53:07,507+0000 [1 1] com.newrelic INFO: An error occurred adding extension /newrelic/extensions/jfr-reporter-0.2.0.jar : module-info is not a class because access_flag ACC_MODULE is set

We should look into preventing or silencing this log messages, since it is emitted and the reporter still works.

kford-newrelic commented 2 years ago

No necessary to address. Repo archived.