- Notifications
You must be signed in to change notification settings - Fork 314
Enable tracer computed trace metrics by default for Azure Functions #8518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
duncanpharvey merged 7 commits into master from duncan-harvey/azure-functions-trace-metrics Mar 20, 2025
Merged
Enable tracer computed trace metrics by default for Azure Functions #8518
duncanpharvey merged 7 commits into master from duncan-harvey/azure-functions-trace-metrics Mar 20, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
jcstorms1 approved these changes Mar 17, 2025
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 61 metrics, 2 unstable metrics. Startup time reports for insecure-bankgantt title insecure-bank - global startup overhead: candidate=1.48.0-SNAPSHOT~44de7eccac, baseline=1.48.0-SNAPSHOT~9c4ccdf54a dateFormat X axisFormat %s section tracing Agent [baseline] (1.048 s) : 0, 1048296 Total [baseline] (8.712 s) : 0, 8711575 Agent [candidate] (1.044 s) : 0, 1043690 Total [candidate] (8.699 s) : 0, 8698823 section iast Agent [baseline] (1.173 s) : 0, 1173373 Total [baseline] (9.258 s) : 0, 9257579 Agent [candidate] (1.183 s) : 0, 1183110 Total [candidate] (9.278 s) : 0, 9278318 section iast_HARDCODED_SECRET_DISABLED Agent [baseline] (1.183 s) : 0, 1183298 Total [baseline] (9.225 s) : 0, 9224992 Agent [candidate] (1.176 s) : 0, 1176209 Total [candidate] (9.292 s) : 0, 9292299 section iast_TELEMETRY_OFF Agent [baseline] (1.168 s) : 0, 1167552 Total [baseline] (9.272 s) : 0, 9271708 Agent [candidate] (1.172 s) : 0, 1171534 Total [candidate] (9.282 s) : 0, 9281606
gantt title insecure-bank - break down per module: candidate=1.48.0-SNAPSHOT~44de7eccac, baseline=1.48.0-SNAPSHOT~9c4ccdf54a dateFormat X axisFormat %s section tracing BytebuddyAgent [baseline] (722.626 ms) : 0, 722626 BytebuddyAgent [candidate] (719.09 ms) : 0, 719090 GlobalTracer [baseline] (240.424 ms) : 0, 240424 GlobalTracer [candidate] (240.068 ms) : 0, 240068 AppSec [baseline] (54.711 ms) : 0, 54711 AppSec [candidate] (54.804 ms) : 0, 54804 Remote Config [baseline] (686.201 µs) : 0, 686 Remote Config [candidate] (693.034 µs) : 0, 693 Telemetry [baseline] (13.722 ms) : 0, 13722 Telemetry [candidate] (13.031 ms) : 0, 13031 section iast BytebuddyAgent [baseline] (838.608 ms) : 0, 838608 BytebuddyAgent [candidate] (845.887 ms) : 0, 845887 GlobalTracer [baseline] (230.392 ms) : 0, 230392 GlobalTracer [candidate] (231.908 ms) : 0, 231908 IAST [baseline] (22.7 ms) : 0, 22700 IAST [candidate] (23.035 ms) : 0, 23035 AppSec [baseline] (56.318 ms) : 0, 56318 AppSec [candidate] (56.81 ms) : 0, 56810 Remote Config [baseline] (611.317 µs) : 0, 611 Remote Config [candidate] (633.397 µs) : 0, 633 Telemetry [baseline] (8.743 ms) : 0, 8743 Telemetry [candidate] (8.81 ms) : 0, 8810 section iast_HARDCODED_SECRET_DISABLED BytebuddyAgent [baseline] (845.334 ms) : 0, 845334 BytebuddyAgent [candidate] (840.423 ms) : 0, 840423 GlobalTracer [baseline] (232.539 ms) : 0, 232539 GlobalTracer [candidate] (231.356 ms) : 0, 231356 IAST [baseline] (23.213 ms) : 0, 23213 IAST [candidate] (22.892 ms) : 0, 22892 AppSec [baseline] (56.784 ms) : 0, 56784 AppSec [candidate] (56.256 ms) : 0, 56256 Remote Config [baseline] (620.268 µs) : 0, 620 Remote Config [candidate] (613.257 µs) : 0, 613 Telemetry [baseline] (8.763 ms) : 0, 8763 Telemetry [candidate] (8.681 ms) : 0, 8681 section iast_TELEMETRY_OFF BytebuddyAgent [baseline] (834.206 ms) : 0, 834206 BytebuddyAgent [candidate] (836.352 ms) : 0, 836352 GlobalTracer [baseline] (230.394 ms) : 0, 230394 GlobalTracer [candidate] (231.246 ms) : 0, 231246 IAST [baseline] (22.145 ms) : 0, 22145 IAST [candidate] (22.456 ms) : 0, 22456 AppSec [baseline] (55.724 ms) : 0, 55724 AppSec [candidate] (56.274 ms) : 0, 56274 Remote Config [baseline] (611.246 µs) : 0, 611 Remote Config [candidate] (616.035 µs) : 0, 616 Telemetry [baseline] (8.52 ms) : 0, 8520 Telemetry [candidate] (8.623 ms) : 0, 8623 Startup time reports for petclinicgantt title petclinic - global startup overhead: candidate=1.48.0-SNAPSHOT~44de7eccac, baseline=1.48.0-SNAPSHOT~9c4ccdf54a dateFormat X axisFormat %s section tracing Agent [baseline] (1.051 s) : 0, 1050726 Total [baseline] (10.557 s) : 0, 10557023 Agent [candidate] (1.042 s) : 0, 1042189 Total [candidate] (10.475 s) : 0, 10474626 section appsec Agent [baseline] (1.197 s) : 0, 1196544 Total [baseline] (10.862 s) : 0, 10862422 Agent [candidate] (1.188 s) : 0, 1188238 Total [candidate] (10.784 s) : 0, 10784426 section iast Agent [baseline] (1.179 s) : 0, 1179084 Total [baseline] (11.023 s) : 0, 11023440 Agent [candidate] (1.175 s) : 0, 1174536 Total [candidate] (11.018 s) : 0, 11017946 section profiling Agent [baseline] (1.265 s) : 0, 1264555 Total [baseline] (10.916 s) : 0, 10916022 Agent [candidate] (1.265 s) : 0, 1265458 Total [candidate] (10.867 s) : 0, 10867455
gantt title petclinic - break down per module: candidate=1.48.0-SNAPSHOT~44de7eccac, baseline=1.48.0-SNAPSHOT~9c4ccdf54a dateFormat X axisFormat %s section tracing BytebuddyAgent [baseline] (724.619 ms) : 0, 724619 BytebuddyAgent [candidate] (719.009 ms) : 0, 719009 GlobalTracer [baseline] (240.931 ms) : 0, 240931 GlobalTracer [candidate] (240.172 ms) : 0, 240172 AppSec [baseline] (55.217 ms) : 0, 55217 AppSec [candidate] (54.832 ms) : 0, 54832 Remote Config [baseline] (699.95 µs) : 0, 700 Remote Config [candidate] (708.339 µs) : 0, 708 Telemetry [baseline] (13.158 ms) : 0, 13158 Telemetry [candidate] (11.478 ms) : 0, 11478 section appsec BytebuddyAgent [baseline] (744.204 ms) : 0, 744204 BytebuddyAgent [candidate] (738.249 ms) : 0, 738249 GlobalTracer [baseline] (238.476 ms) : 0, 238476 GlobalTracer [candidate] (237.105 ms) : 0, 237105 AppSec [baseline] (177.666 ms) : 0, 177666 AppSec [candidate] (176.953 ms) : 0, 176953 Remote Config [baseline] (678.007 µs) : 0, 678 Remote Config [candidate] (665.703 µs) : 0, 666 Telemetry [baseline] (8.356 ms) : 0, 8356 Telemetry [candidate] (8.328 ms) : 0, 8328 IAST [baseline] (22.066 ms) : 0, 22066 IAST [candidate] (21.814 ms) : 0, 21814 section iast BytebuddyAgent [baseline] (843.82 ms) : 0, 843820 BytebuddyAgent [candidate] (839.95 ms) : 0, 839950 GlobalTracer [baseline] (230.275 ms) : 0, 230275 GlobalTracer [candidate] (230.575 ms) : 0, 230575 AppSec [baseline] (56.663 ms) : 0, 56663 AppSec [candidate] (55.918 ms) : 0, 55918 Remote Config [baseline] (611.926 µs) : 0, 612 Remote Config [candidate] (609.352 µs) : 0, 609 Telemetry [baseline] (8.795 ms) : 0, 8795 Telemetry [candidate] (8.69 ms) : 0, 8690 IAST [baseline] (22.907 ms) : 0, 22907 IAST [candidate] (22.84 ms) : 0, 22840 section profiling ProfilingAgent [baseline] (98.032 ms) : 0, 98032 ProfilingAgent [candidate] (96.574 ms) : 0, 96574 BytebuddyAgent [baseline] (710.165 ms) : 0, 710165 BytebuddyAgent [candidate] (711.408 ms) : 0, 711408 GlobalTracer [baseline] (350.542 ms) : 0, 350542 GlobalTracer [candidate] (352.576 ms) : 0, 352576 AppSec [baseline] (54.617 ms) : 0, 54617 AppSec [candidate] (53.749 ms) : 0, 53749 Remote Config [baseline] (715.79 µs) : 0, 716 Remote Config [candidate] (719.199 µs) : 0, 719 Telemetry [baseline] (8.942 ms) : 0, 8942 Telemetry [candidate] (8.916 ms) : 0, 8916 Profiling [baseline] (98.057 ms) : 0, 98057 Profiling [candidate] (96.598 ms) : 0, 96598 LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 14 metrics, 16 unstable metrics. Request duration reports for petclinicgantt title petclinic - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~44de7eccac, baseline=1.48.0-SNAPSHOT~9c4ccdf54a dateFormat X axisFormat %s section baseline no_agent (1.357 ms) : 1338, 1376 . : milestone, 1357, appsec (1.72 ms) : 1697, 1744 . : milestone, 1720, appsec_no_iast (1.714 ms) : 1690, 1739 . : milestone, 1714, code_origins (1.666 ms) : 1639, 1692 . : milestone, 1666, iast (1.503 ms) : 1479, 1527 . : milestone, 1503, profiling (1.506 ms) : 1482, 1530 . : milestone, 1506, tracing (1.474 ms) : 1449, 1499 . : milestone, 1474, section candidate no_agent (1.347 ms) : 1327, 1366 . : milestone, 1347, appsec (1.722 ms) : 1698, 1745 . : milestone, 1722, appsec_no_iast (1.749 ms) : 1724, 1773 . : milestone, 1749, code_origins (1.655 ms) : 1628, 1682 . : milestone, 1655, iast (1.503 ms) : 1479, 1528 . : milestone, 1503, profiling (1.495 ms) : 1471, 1518 . : milestone, 1495, tracing (1.478 ms) : 1453, 1504 . : milestone, 1478,
Request duration reports for insecure-bankgantt title insecure-bank - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~44de7eccac, baseline=1.48.0-SNAPSHOT~9c4ccdf54a dateFormat X axisFormat %s section baseline no_agent (389.211 µs) : 366, 412 . : milestone, 389, iast (518.826 µs) : 497, 541 . : milestone, 519, iast_FULL (725.959 µs) : 704, 748 . : milestone, 726, iast_GLOBAL (555.369 µs) : 533, 577 . : milestone, 555, iast_HARDCODED_SECRET_DISABLED (506.368 µs) : 485, 528 . : milestone, 506, iast_INACTIVE (458.83 µs) : 438, 480 . : milestone, 459, iast_TELEMETRY_OFF (503.983 µs) : 482, 526 . : milestone, 504, tracing (458.025 µs) : 437, 479 . : milestone, 458, section candidate no_agent (374.207 µs) : 354, 394 . : milestone, 374, iast (505.082 µs) : 483, 527 . : milestone, 505, iast_FULL (726.033 µs) : 704, 748 . : milestone, 726, iast_GLOBAL (551.598 µs) : 530, 573 . : milestone, 552, iast_HARDCODED_SECRET_DISABLED (503.7 µs) : 482, 525 . : milestone, 504, iast_INACTIVE (462.191 µs) : 441, 483 . : milestone, 462, iast_TELEMETRY_OFF (497.02 µs) : 475, 519 . : milestone, 497, tracing (447.177 µs) : 427, 468 . : milestone, 447,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. Execution time for tomcatgantt title tomcat - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~44de7eccac, baseline=1.48.0-SNAPSHOT~9c4ccdf54a dateFormat X axisFormat %s section baseline no_agent (1.481 ms) : 1469, 1492 . : milestone, 1481, appsec (2.357 ms) : 2313, 2401 . : milestone, 2357, iast (2.121 ms) : 2065, 2177 . : milestone, 2121, iast_GLOBAL (2.17 ms) : 2114, 2226 . : milestone, 2170, profiling (1.972 ms) : 1928, 2016 . : milestone, 1972, tracing (1.965 ms) : 1922, 2008 . : milestone, 1965, section candidate no_agent (1.477 ms) : 1465, 1488 . : milestone, 1477, appsec (2.36 ms) : 2315, 2404 . : milestone, 2360, iast (2.13 ms) : 2074, 2186 . : milestone, 2130, iast_GLOBAL (2.167 ms) : 2111, 2223 . : milestone, 2167, profiling (2.002 ms) : 1956, 2048 . : milestone, 2002, tracing (1.962 ms) : 1919, 2005 . : milestone, 1962,
Execution time for biojavagantt title biojava - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~44de7eccac, baseline=1.48.0-SNAPSHOT~9c4ccdf54a dateFormat X axisFormat %s section baseline no_agent (14.924 s) : 14924000, 14924000 . : milestone, 14924000, appsec (14.894 s) : 14894000, 14894000 . : milestone, 14894000, iast (18.763 s) : 18763000, 18763000 . : milestone, 18763000, iast_GLOBAL (18.158 s) : 18158000, 18158000 . : milestone, 18158000, profiling (15.007 s) : 15007000, 15007000 . : milestone, 15007000, tracing (14.925 s) : 14925000, 14925000 . : milestone, 14925000, section candidate no_agent (15.563 s) : 15563000, 15563000 . : milestone, 15563000, appsec (15.224 s) : 15224000, 15224000 . : milestone, 15224000, iast (19.028 s) : 19028000, 19028000 . : milestone, 19028000, iast_GLOBAL (17.936 s) : 17936000, 17936000 . : milestone, 17936000, profiling (14.882 s) : 14882000, 14882000 . : milestone, 14882000, tracing (15.194 s) : 15194000, 15194000 . : milestone, 15194000,
|
lucaspimentel approved these changes Mar 19, 2025
mcculls approved these changes Mar 19, 2025
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Apr 11, 2025
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | org.flywaydb.flyway | plugin | misk/gradle/libs.versions.toml | gradle | minor | `11.6.0` -> `11.7.0` | | [com.squareup.okio:okio-fakefilesystem](https://github.com/square/okio) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `3.10.2` -> `3.11.0` | | [com.squareup.okio:okio](https://github.com/square/okio) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `3.10.2` -> `3.11.0` | | [com.autonomousapps.dependency-analysis](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin) | plugin | misk/gradle/libs.versions.toml | gradle | minor | `2.15.0` -> `2.16.0` | | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.47.3` -> `1.48.1` | | [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.47.3` -> `1.48.1` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | --- ### Release Notes <details> <summary>square/okio (com.squareup.okio:okio-fakefilesystem)</summary> ### [`v3.11.0`](https://github.com/square/okio/blob/HEAD/CHANGELOG.md#Version-3110) *2025-04-09* - Fix: Clear the deflater's byte array reference - New: Faster implementation of `String.decodeHex()` on Kotlin/JS. - New: Declare `EXACTLY_ONCE` execution for blocks like `Closeable.use {}` and `FileSystem.read {}`. - Upgrade: \[Kotlin 2.1.20]\[kotlin\_2\_1\_20]. </details> <details> <summary>autonomousapps/dependency-analysis-android-gradle-plugin (com.autonomousapps.dependency-analysis)</summary> ### [`v2.16.0`](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-2160) - \[Feat]: support `com.android.test` projects. - \[Feat]: support typesafe project accessors with opt-in. ```kotlin dependencyAnalysis { useTypesafeProjectAccessors(true) // false by default } ``` </details> <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.48.1`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.48.1): 1.48.1 ### Components #### Tracer internal logging - 🐛 Remove print line causing unnecessary logs ([#​8687](DataDog/dd-trace-java#8687) - [@​sarahchen6](https://github.com/sarahchen6)) ### [`v1.48.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.48.0): 1.48.0 ### Known Bugs > \[!NOTE] > If you are experiencing issues with spamming timeout logs, please update to the [latest version](https://github.com/DataDog/dd-trace-java/releases/latest) or set [JDK_SOCKET_ENABLED](https://github.com/DataDog/dd-trace-java/blob/33fc3c9a9b7cda3beda88b8b3e5224ae2b10764a/dd-trace-api/src/main/java/datadog/trace/api/config/GeneralConfig.java#L98) to false. ### Components #### Application Security Management (IAST) - ✨ Fix vulnerability location org.jose4j.lang.HashUtil ([#​8610](DataDog/dd-trace-java#8610) - [@​jandro996](https://github.com/jandro996)) - ✨ Fix weak randomness in oracle.ucp.util.OpaqueString ([#​8609](DataDog/dd-trace-java#8609) - [@​jandro996](https://github.com/jandro996)) - ✨ Fix weak hash false positive in oracle.security.o5logon.O5Logon ([#​8608](DataDog/dd-trace-java#8608) - [@​jandro996](https://github.com/jandro996)) - 🐛 Prevent before callsites targeting constructors in super calls ([#​8549](DataDog/dd-trace-java#8549) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### Application Security Management (WAF) - ✨ Update login events public SDK to V2 ([#​8620](DataDog/dd-trace-java#8620) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - 🐛 Send RASP LFI capability only when AppSec is statically enabled ([#​8573](DataDog/dd-trace-java#8573) - [@​jandro996](https://github.com/jandro996)) - ✨ Improve detection of missing request end events ([#​8510](DataDog/dd-trace-java#8510) - [@​smola](https://github.com/smola)) - 🧹 Remove remote configuration for API Security sampling rate ([#​8486](DataDog/dd-trace-java#8486) - [@​smola](https://github.com/smola)) - ✨ Add setUser to user monitoring SDK ([#​8482](DataDog/dd-trace-java#8482) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Add missing address for signup event ([#​8469](DataDog/dd-trace-java#8469) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Allow login events SDK to be used with appsec disabled ([#​8464](DataDog/dd-trace-java#8464) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Add support for endpoint discovery in spring mvc ([#​8352](DataDog/dd-trace-java#8352) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ New API Security sampling algorithm ([#​8178](DataDog/dd-trace-java#8178) - [@​ValentinZakharov](https://github.com/ValentinZakharov)) #### Build & Tooling - ✨ Add buffer size customizability to JDK UDS support ([#​8629](DataDog/dd-trace-java#8629) - [@​sarahchen6](https://github.com/sarahchen6)) - ✨ Add JDK built-in support for UDS on Java 16+ ([#​8314](DataDog/dd-trace-java#8314) - [@​sarahchen6](https://github.com/sarahchen6)) #### Configuration at Runtime - 🐛 Send RASP LFI capability only when AppSec is statically enabled ([#​8573](DataDog/dd-trace-java#8573) - [@​jandro996](https://github.com/jandro996)) #### Continuous Integration Visibility - 🐛 Prevent double reporting of Scalatest events when using SBT with test forking ([#​8682](DataDog/dd-trace-java#8682) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Shutdown CI Visibility test event handlers before tracer ([#​8677](DataDog/dd-trace-java#8677) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Do not apply JUnit 4 instrumentation to MUnit runners ([#​8675](DataDog/dd-trace-java#8675), [#​8683](DataDog/dd-trace-java#8683) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Remove error log when source path resolution fails on isModified check ([#​8663](DataDog/dd-trace-java#8663) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Implement tests reordering for JUnit 4 ([#​8650](DataDog/dd-trace-java#8650) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - 🐛 Set default Attempt to Fix retries if none provided from the backend ([#​8615](DataDog/dd-trace-java#8615) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Allow to manually set PR info ([#​8566](DataDog/dd-trace-java#8566) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix Test Optimization init when repo root cannot be determined ([#​8533](DataDog/dd-trace-java#8533) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add capabilities tagging ([#​8499](DataDog/dd-trace-java#8499), [#​8540](DataDog/dd-trace-java#8540) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) #### Crash tracking - 🐛 Remove dependency on bash from crash/oome uploder scripts ([#​8652](DataDog/dd-trace-java#8652) - [@​jbachorik](https://github.com/jbachorik)) #### Data Streams Monitoring - ✨ e2e pipeline configuration when data jobs is enabled ([#​8553](DataDog/dd-trace-java#8553) - [@​kr-igor](https://github.com/kr-igor)) #### Dynamic Instrumentation - 🐛 Fix In-Product when config is empty ([#​8679](DataDog/dd-trace-java#8679) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add support for filtering shaded third-party libs ([#​8612](DataDog/dd-trace-java#8612) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add In-Product Enablement ([#​8587](DataDog/dd-trace-java#8587) - [@​jpbempel](https://github.com/jpbempel)) - ✨⚡ Reduce footprint of SourceFile tracking ([#​8524](DataDog/dd-trace-java#8524) - [@​jpbempel](https://github.com/jpbempel)) - ✨⚡ Optimize the SourceFile tracking ([#​8520](DataDog/dd-trace-java#8520) - [@​jpbempel](https://github.com/jpbempel)) #### OpenTracing - 🧹 Remove activeScope() use in OpenTracing shim ([#​8478](DataDog/dd-trace-java#8478) - [@​mcculls](https://github.com/mcculls)) #### Profiling - ✨ Add profiler env check command to AgentCLI ([#​8671](DataDog/dd-trace-java#8671) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Bump ddprof to 1.23.0 ([#​8668](DataDog/dd-trace-java#8668) - [@​jbachorik](https://github.com/jbachorik)) - Fix a crash related to ElfParser::loadSymbolTable ([#​191](DataDog/dd-trace-java#191)) by [@​yanglong1010](https://github.com/yanglong1010) in DataDog/java-profiler#192 - Unwind String.indexOf intrinsic on AArch64 by [@​MattAlp](https://github.com/MattAlp) in DataDog/java-profiler#193 - Fix Java 24 support by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#194 - A set of fixes related to clang, aarch64 and musl pecularities of vmstructs stack unwinder by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#199 - 🐛 Remove process information from JFR recording ([#​8661](DataDog/dd-trace-java#8661) - [@​r1viollet](https://github.com/r1viollet)) - 🐛 Make TempLocationManager USER aware ([#​8605](DataDog/dd-trace-java#8605) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Extract git tags from embedded git.properties and datadog_git.properties ([#​8561](DataDog/dd-trace-java#8561) - [@​wmouchere](https://github.com/wmouchere)) #### Telemetry - 🐛 Fix appsec.rasp.error and appsec.waf.error telemetry metrics ([#​8624](DataDog/dd-trace-java#8624) - [@​jandro996](https://github.com/jandro996)) - ✨ Create metric: appsec.rasp.rule.skipped ([#​8618](DataDog/dd-trace-java#8618) - [@​jandro996](https://github.com/jandro996)) - ✨ Extract git tags from embedded git.properties and datadog_git.properties ([#​8561](DataDog/dd-trace-java#8561) - [@​wmouchere](https://github.com/wmouchere)) #### Testing - 🧹 Simplify ssi tests one-pipeline ([#​8558](DataDog/dd-trace-java#8558) - [@​robertomonteromiguel](https://github.com/robertomonteromiguel)) - ✨ Add smoke tests for java's concurrent API ([#​8438](DataDog/dd-trace-java#8438) - [@​sarahchen6](https://github.com/sarahchen6)) #### Trace context propagation - ✨ Adding Support for `TRACE_PROPAGATION_BEHAVIOR_EXTRACT` ([#​8535](DataDog/dd-trace-java#8535) - [@​mhlidd](https://github.com/mhlidd)) #### Tracer core - 🐛 Ensure shaded helpers have unique names ([#​8559](DataDog/dd-trace-java#8559) - [@​amarziali](https://github.com/amarziali)) - ✨ Support common config sources for user-provided git info ([#​8547](DataDog/dd-trace-java#8547) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Make the default config sources more robust when a security manager is installed ([#​8544](DataDog/dd-trace-java#8544) - [@​mcculls](https://github.com/mcculls)) - ✨ Support targeting services with configurations in stable configuration file ([#​8526](DataDog/dd-trace-java#8526) - [@​mtoffl01](https://github.com/mtoffl01)) - ✨ Add new parser for `DD_TAGS` and prioritizing `DD_SERVICE` ([#​8296](DataDog/dd-trace-java#8296) - [@​mhlidd](https://github.com/mhlidd)) #### Tracer internal logging - 🐛 Add missing debug log for the cloudPayloadTaggingServices config ([#​8600](DataDog/dd-trace-java#8600) - [@​ygree](https://github.com/ygree)) - ✨ Add the possibility to output the logs of the Java tracer in JSON ([#​8083](DataDog/dd-trace-java#8083) - [@​cecile75](https://github.com/cecile75)) #### Tracer public API - ✨ Introducing `DD_TRACE_EXPERIMENTAL_FEATURES_ENABLED` Config ([#​8536](DataDog/dd-trace-java#8536) - [@​mhlidd](https://github.com/mhlidd)) - ✨ Config Consistency Round 2 ([#​8489](DataDog/dd-trace-java#8489) - [@​mhlidd](https://github.com/mhlidd)) ### Instrumentations #### - 🐛 Fix NPE in getMdcCopy of LoggingEventInstrumentation ([#​8599](DataDog/dd-trace-java#8599) - [@​ygree](https://github.com/ygree)) #### Apache Spark instrumentation - ✨ Instrument Runtime.exit() to finish spark application spans ([#​8572](DataDog/dd-trace-java#8572) - [@​paul-laffon-dd](https://github.com/paul-laffon-dd)) - ✨ Configure OpenLineage if present in Spark instrumentation ([#​8541](DataDog/dd-trace-java#8541) - [@​mobuchowski](https://github.com/mobuchowski)) #### Armeria Instrumentation - ✨ Support armeria grpc 1.32.3 ([#​8606](DataDog/dd-trace-java#8606) - [@​github-actions](https://github.com/github-actions)\[bot]) #### AWS DynamoDB Instrumentation - ✨ Create DynamoDB instrumentation + add span pointers for `updateItem` and `deleteItem` ([#​8490](DataDog/dd-trace-java#8490) - [@​nhulston](https://github.com/nhulston)) #### AWS SDK instrumentation - ✨ Add DynamoDB in DEFAULT_TRACE_CLOUD_PAYLOAD_TAGGING_SERVICES ([#​8595](DataDog/dd-trace-java#8595) - [@​joeyzhao2018](https://github.com/joeyzhao2018)) #### Azure Functions instrumentation - ✨ Enable tracer computed trace metrics by default for Azure Functions ([#​8518](DataDog/dd-trace-java#8518) - [@​duncanpharvey](https://github.com/duncanpharvey)) - 💡 Add azure-functions instrumentation ([#​8432](DataDog/dd-trace-java#8432) - [@​duncanpharvey](https://github.com/duncanpharvey)) #### Core Java language instrumentation - 🐛 Fix ForkJoinPool.execute() instrumentation on Java 21+ ([#​8560](DataDog/dd-trace-java#8560) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) #### Eclipse Vert.x instrumentation - ✨ Add vertx postgresql client instrumentation ([#​8471](DataDog/dd-trace-java#8471) - [@​vandonr](https://github.com/vandonr) - thanks for the contribution!) #### Kafka instrumentation - ✨ Support and test kafka-clients 4 ([#​8581](DataDog/dd-trace-java#8581) - [@​amarziali](https://github.com/amarziali)) #### Kotlin instrumentation - ✨ Avoid disconnected traces when using Kotlin flowOn ([#​8651](DataDog/dd-trace-java#8651) - [@​mcculls](https://github.com/mcculls)) #### OpenTelemetry instrumentation - 🧹 Migrate OtelContext wrapper to new internal Context API ([#​8645](DataDog/dd-trace-java#8645) - [@​mcculls](https://github.com/mcculls)) #### Spring instrumentation - 🐛 Support CompletableFuture on spring webmvc controllers ([#​8659](DataDog/dd-trace-java#8659) - [@​amarziali](https://github.com/amarziali)) - ✨ Add support for endpoint discovery in spring mvc ([#​8352](DataDog/dd-trace-java#8352) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### WebSocket Instrumentation - ✨ Instrument Jetty websocket pojo ([#​8562](DataDog/dd-trace-java#8562) - [@​amarziali](https://github.com/amarziali)) - 💡 Instrument Java Websocket API (JSR356) ([#​8440](DataDog/dd-trace-java#8440) - [@​amarziali](https://github.com/amarziali)) #### All other instrumentations - ✨ Introduce cache for peer.hostname lookup ([#​8601](DataDog/dd-trace-java#8601) - [@​mcculls](https://github.com/mcculls)) - ✨ Support pekko http 1.1 ([#​8532](DataDog/dd-trace-java#8532) - [@​amarziali](https://github.com/amarziali)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am every weekday" in timezone Australia/Melbourne, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). GitOrigin-RevId: 331314f71acaced3adc75ea5d7e855c248d593fc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inst: azure-functions Azure Functions instrumentation type: enhancement Enhancements and improvements
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
What Does This Do
Enable tracer computed trace metrics by default for Azure Functions.
Motivation
Traces generated by Azure Functions are sent to Datadog using a stripped down version of the Datadog Agent which does not compute trace metrics. As a result, tracer computed trace metrics should be enabled by default in Azure Function environments.
Additional Notes
Rust based, stripped down version of the Datadog Agent can be found in libdatadog.
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: SVLS-6447