Skip to content

Commit

Permalink
verify autoconf example for updated resource
Browse files Browse the repository at this point in the history
  • Loading branch information
psx95 committed Mar 3, 2024
1 parent 97d0911 commit 25dbcff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/autoconf/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ dependencies {
runtimeOnly(libraries.opentelemetry_sdk_autoconf)
runtimeOnly(libraries.opentelemetry_sdk)
runtimeOnly project(':exporter-auto')
runtimeOnly project(':detector-resources')
runtimeOnly(libraries.opentelemetry_gcp_resources)
}

// Autoconfiguraation settings.
// See: https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk-extensions/autoconfigure
def autoconf_config = [
'-Dotel.traces.exporter=google_cloud_trace',
'-Dotel.metrics.exporter=google_cloud_monitoring',
'-Dotel.logs.exporter=none',
'-Dotel.java.global-autoconfigure.enabled=true',
]

Expand Down

0 comments on commit 25dbcff

Please sign in to comment.