Skip to content

Commit

Permalink
Update the elastic-apm-agent version (elastic#100064)
Browse files Browse the repository at this point in the history
The latest version contains a fix to allow sending metrics to APM server. also adds a apm agent jvm options
"enable_experimental_instrumentations", "true"
which is required to enable the otel-metrics-instrumentation.

relates elastic#99832
  • Loading branch information
pgomulka authored and piergm committed Oct 2, 2023
1 parent 3d3232f commit b26e680
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ class APMJvmOptions {
"log_file", "_AGENT_HOME_/../../logs/apm.log",

// ES does not use auto-instrumentation.
"instrument", "false"
"instrument", "false",
"enable_experimental_instrumentations", "true"
);

/**
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog/100064.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 100064
summary: Update the elastic-apm-agent version
area: Infra/Core
type: enhancement
issues: []
10 changes: 5 additions & 5 deletions gradle/verification-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@
<sha256 value="10fe288fd7a2cdaf5175332b73529f9abf8fd54dcfff317d6967c0c35ffb133b" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="co.elastic.apm" name="elastic-apm-agent" version="1.36.0">
<artifact name="elastic-apm-agent-1.36.0.jar">
<sha256 value="3be90268557494f88fe252caf6358d4107aa9349852b8704b1e0ff4831cb74d6" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="co.elastic.apm" name="elastic-apm-agent" version="1.43.0">
<artifact name="elastic-apm-agent-1.43.0.jar">
<sha256 value="a9910a9589b2cceb9a41936e297bb41c6aeef5496f7ba26017ba489291aa4aa8" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="co.elastic.logging" name="ecs-logging-core" version="1.2.0">
<artifact name="ecs-logging-core-1.2.0.jar">
<sha256 value="0d6318af29848ea588b1c244834e3e762315c68de2bcfc9f1adf3f0633d22d37" origin="Generated by Gradle"/>
Expand Down
2 changes: 1 addition & 1 deletion modules/apm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {
implementation "io.opentelemetry:opentelemetry-api:${otelVersion}"
implementation "io.opentelemetry:opentelemetry-context:${otelVersion}"
implementation "io.opentelemetry:opentelemetry-semconv:${otelVersion}-alpha"
runtimeOnly "co.elastic.apm:elastic-apm-agent:1.36.0"
runtimeOnly "co.elastic.apm:elastic-apm-agent:1.43.0"
}

tasks.named("dependencyLicenses").configure {
Expand Down

0 comments on commit b26e680

Please sign in to comment.