GoogleCloudPlatform / GoogleCloudPlatform/opentelemetry-operations-java

Update Readme instructions for using shaded variants.

Offen
#246 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
documentation enhancement accepted priority: p3
Vorherrschende Sprache
Java
Sterne
78
Forks
39
Ø Merge
14 Min.
Gemergte PRs (30 T.)
1

Beschreibung

Consider using https://github.com/ryandens/javaagent-gradle-plugin#application-plugin-integration to show how to use the shaded variant as an agent (i.e. what we recommend) rather than adding it to the application classpath.

You can write up similar instructions for Maven by adapting https://stackoverflow.com/questions/14777909/specify-javaagent-argument-with-maven-exec-plugin, but it's a lot more verbose. It's up to you whether you want to do that.

_Originally posted by @punya in https://github.com/GoogleCloudPlatform/opentelemetry-operations-java/pull/245#discussion_r1192031907_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.