Skip to content

refactor(profiling): make profiling exporter fields private#9043

Merged
szegedi merged 1 commit into
masterfrom
BridgeAR/2026-06-23-profiling-exporter-private-fields
Jun 24, 2026
Merged

refactor(profiling): make profiling exporter fields private#9043
szegedi merged 1 commit into
masterfrom
BridgeAR/2026-06-23-profiling-exporter-private-fields

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

Summary

The EventSerializer, AgentExporter, and FileExporter state is read only inside each class, yet stayed underscore-prefixed. Promote it to #private so the runtime enforces the boundary instead of the convention.

AgentExporter._url stays a plain underscore property: the profiling config spec asserts the resolved intake URL through config.exporters[0]._url, so it is part of a reachable surface rather than purely internal.

Test plan

  • packages/dd-trace/test/profiling/**/*.spec.js

The EventSerializer, AgentExporter, and FileExporter state is read only inside
each class, so promote it to #private and let the runtime enforce the boundary
instead of the underscore convention.

AgentExporter._url stays a plain underscore property: the profiling config spec
asserts the resolved intake URL through config.exporters[0]._url, so the field
is part of a reachable surface rather than purely internal.
@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.34%. Comparing base (de59f52) to head (89c7073).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9043      +/-   ##
==========================================
+ Coverage   91.83%   92.34%   +0.51%     
==========================================
  Files         879      879              
  Lines       50471    50471              
  Branches     9934     9934              
==========================================
+ Hits        46350    46609     +259     
+ Misses       4121     3862     -259     
Flag Coverage Δ
aiguard-integration-active 41.73% <ø> (+0.12%) ⬆️
aiguard-integration-latest 41.74% <ø> (ø)
aiguard-integration-maintenance 41.82% <ø> (+0.12%) ⬆️
aiguard-macos 34.56% <ø> (-0.08%) ⬇️
aiguard-ubuntu 34.81% <ø> (+0.02%) ⬆️
aiguard-windows 34.39% <ø> (-0.08%) ⬇️
apm-capabilities-tracing-macos 48.17% <0.00%> (-0.04%) ⬇️
apm-capabilities-tracing-ubuntu-active 48.20% <0.00%> (ø)
apm-capabilities-tracing-ubuntu-latest 48.38% <0.00%> (?)
apm-capabilities-tracing-ubuntu-maintenance 48.42% <0.00%> (ø)
apm-capabilities-tracing-ubuntu-oldest 48.43% <0.00%> (?)
apm-capabilities-tracing-windows 48.18% <0.00%> (-0.02%) ⬇️
apm-integrations-aerospike-18-gte.5.2.0 33.09% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-20-gte.5.5.0 33.11% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-22-gte.5.12.1 33.11% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-22-gte.6.0.0 33.11% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-eol- 33.02% <ø> (-0.08%) ⬇️
apm-integrations-child-process 34.02% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript-18 40.02% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript-20 40.04% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript-22 40.04% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript-24 39.94% <ø> (-0.08%) ⬇️
apm-integrations-couchbase-18 33.10% <ø> (-0.08%) ⬇️
apm-integrations-couchbase-eol 33.03% <ø> (-0.20%) ⬇️
apm-integrations-dns 32.95% <ø> (-0.08%) ⬇️
apm-integrations-elasticsearch 34.11% <ø> (-0.07%) ⬇️
apm-integrations-http-latest 41.85% <ø> (?)
apm-integrations-http-maintenance 41.94% <ø> (-0.07%) ⬇️
apm-integrations-http-oldest 41.87% <ø> (-0.07%) ⬇️
apm-integrations-http2 39.05% <ø> (?)
apm-integrations-kafkajs-latest 40.07% <ø> (-0.08%) ⬇️
apm-integrations-kafkajs-oldest 40.16% <ø> (-0.17%) ⬇️
apm-integrations-net 33.64% <ø> (-0.08%) ⬇️
apm-integrations-next-11.1.4 36.66% <ø> (ø)
apm-integrations-next-12.3.7 36.66% <ø> (ø)
apm-integrations-next-13.0.0 29.08% <ø> (-0.08%) ⬇️
apm-integrations-next-13.2.0 29.08% <ø> (-0.08%) ⬇️
apm-integrations-next-13.5.11 29.22% <ø> (-0.08%) ⬇️
apm-integrations-next-14.0.0 29.15% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.35 29.15% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.6 29.15% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.7 29.15% <ø> (-0.08%) ⬇️
apm-integrations-next-15.0.0 ?
apm-integrations-next-15.4.0 29.22% <ø> (-0.08%) ⬇️
apm-integrations-next-latest 29.25% <ø> (-0.08%) ⬇️
apm-integrations-oracledb 33.96% <ø> (-0.08%) ⬇️
apm-integrations-prisma-18-gte.6.16.0.and.lt.7.0.0 34.80% <ø> (-0.08%) ⬇️
apm-integrations-prisma-latest-all 34.24% <ø> (-0.07%) ⬇️
apm-integrations-restify 35.20% <ø> (-0.08%) ⬇️
apm-integrations-sharedb 32.45% <ø> (-0.08%) ⬇️
apm-integrations-tedious 33.38% <ø> (-0.08%) ⬇️
appsec-express 50.93% <ø> (-0.06%) ⬇️
appsec-fastify 47.70% <ø> (-0.08%) ⬇️
appsec-graphql 47.74% <ø> (-0.08%) ⬇️
appsec-integration-active 36.10% <ø> (?)
appsec-integration-latest 36.10% <ø> (ø)
appsec-integration-maintenance 36.16% <ø> (ø)
appsec-integration-oldest 36.15% <ø> (ø)
appsec-kafka 40.32% <ø> (-0.02%) ⬇️
appsec-ldapjs ?
appsec-lodash 39.73% <ø> (-0.07%) ⬇️
appsec-macos 57.08% <ø> (+0.03%) ⬆️
appsec-mongodb-core 43.89% <ø> (-0.06%) ⬇️
appsec-mongoose 44.74% <ø> (-0.07%) ⬇️
appsec-mysql 46.96% <ø> (-0.11%) ⬇️
appsec-next-latest-11.1.4 27.37% <ø> (-0.07%) ⬇️
appsec-next-latest-12.3.7 27.43% <ø> (ø)
appsec-next-latest-13.0.0 29.16% <ø> (-0.08%) ⬇️
appsec-next-latest-13.2.0 29.19% <ø> (-0.08%) ⬇️
appsec-next-latest-13.5.11 29.28% <ø> (-0.08%) ⬇️
appsec-next-latest-14.0.0 29.21% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.35 29.21% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.6 29.21% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.7 29.21% <ø> (-0.08%) ⬇️
appsec-next-latest-15.0.0 ?
appsec-next-latest-latest 29.25% <ø> (-0.08%) ⬇️
appsec-next-oldest-11.1.4 27.42% <ø> (?)
appsec-next-oldest-12.3.7 29.22% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.0.0 29.22% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.2.0 29.48% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.5.11 29.58% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.0.0 29.52% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.35 29.52% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.6 29.52% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.7 29.52% <ø> (-0.08%) ⬇️
appsec-next-oldest-15.0.0 29.52% <ø> (-0.08%) ⬇️
appsec-next-oldest-latest 27.63% <ø> (ø)
appsec-node-serialize 39.05% <ø> (-0.07%) ⬇️
appsec-passport 42.65% <ø> (-0.07%) ⬇️
appsec-postgres 46.70% <ø> (?)
appsec-sourcing 38.48% <ø> (-0.07%) ⬇️
appsec-stripe 40.53% <ø> (-0.06%) ⬇️
appsec-template 39.31% <ø> (-0.07%) ⬇️
appsec-ubuntu 57.10% <ø> (-0.06%) ⬇️
appsec-windows 56.86% <ø> (-0.05%) ⬇️
debugger-ubuntu-active 43.47% <ø> (ø)
debugger-ubuntu-latest 43.47% <ø> (ø)
debugger-ubuntu-maintenance 43.59% <ø> (ø)
debugger-ubuntu-oldest 43.94% <ø> (+0.04%) ⬆️
instrumentations-instrumentation-ai 45.53% <ø> (ø)
instrumentations-instrumentation-aws-sdk 45.11% <ø> (ø)
instrumentations-instrumentation-bluebird 27.60% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-body-parser 35.65% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-child_process 33.32% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-connect 48.51% <ø> (ø)
instrumentations-instrumentation-cookie-parser 29.51% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-couchbase-18 46.23% <ø> (ø)
instrumentations-instrumentation-couchbase-eol 46.23% <ø> (ø)
instrumentations-instrumentation-crypto 27.57% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express 29.71% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express-mongo-sanitize 29.62% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express-multi-version 41.80% <ø> (ø)
instrumentations-instrumentation-express-session 35.47% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-fastify 48.47% <ø> (ø)
instrumentations-instrumentation-fetch 45.21% <ø> (ø)
instrumentations-instrumentation-fs 27.28% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-generic-pool 27.46% <ø> (ø)
instrumentations-instrumentation-hono ?
instrumentations-instrumentation-http 37.90% <ø> (?)
instrumentations-instrumentation-http-client-options 37.51% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-kafkajs 49.19% <ø> (ø)
instrumentations-instrumentation-knex 27.59% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-koa 46.11% <ø> (ø)
instrumentations-instrumentation-light-my-request 35.29% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-mongoose 28.70% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-multer 35.32% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-mysql2 33.43% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-openai-lifecycle 46.21% <ø> (ø)
instrumentations-instrumentation-otel-sdk-trace 25.45% <ø> (ø)
instrumentations-instrumentation-passport 39.21% <ø> (-0.07%) ⬇️
instrumentations-instrumentation-passport-http 38.90% <ø> (-0.07%) ⬇️
instrumentations-instrumentation-passport-local 39.36% <ø> (-0.07%) ⬇️
instrumentations-instrumentation-pg 33.16% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-promise 27.55% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-promise-js 27.55% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-q 27.58% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-restify 47.75% <ø> (ø)
instrumentations-instrumentation-router 43.64% <ø> (ø)
instrumentations-instrumentation-stripe 28.10% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-url 27.40% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-when 27.56% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-zlib 27.45% <ø> (-0.08%) ⬇️
instrumentations-integration-esbuild-0.16.12-active ?
instrumentations-integration-esbuild-0.16.12-latest 24.72% <ø> (?)
instrumentations-integration-esbuild-0.16.12-maintenance 18.74% <ø> (?)
instrumentations-integration-esbuild-0.16.12-oldest 18.73% <ø> (?)
instrumentations-integration-esbuild-latest-active 24.72% <ø> (ø)
instrumentations-integration-esbuild-latest-latest 24.72% <ø> (ø)
instrumentations-integration-esbuild-latest-maintenance ?
instrumentations-integration-esbuild-latest-oldest 18.73% <ø> (ø)
llmobs-ai 35.13% <ø> (-0.07%) ⬇️
llmobs-anthropic 36.53% <ø> (-0.07%) ⬇️
llmobs-google-genai 35.96% <ø> (-0.07%) ⬇️
llmobs-langchain 35.49% <ø> (-0.06%) ⬇️
llmobs-openai-latest 39.43% <ø> (-0.07%) ⬇️
llmobs-openai-oldest 39.51% <ø> (-0.07%) ⬇️
llmobs-sdk-active 43.37% <ø> (-0.08%) ⬇️
llmobs-sdk-latest 43.37% <ø> (-0.08%) ⬇️
llmobs-sdk-maintenance 43.47% <ø> (-0.08%) ⬇️
llmobs-sdk-oldest 43.45% <ø> (-0.08%) ⬇️
llmobs-vertex-ai 35.63% <ø> (-0.07%) ⬇️
master-coverage 92.34% <100.00%> (?)
openfeature-macos 37.48% <ø> (ø)
openfeature-ubuntu 37.61% <ø> (ø)
openfeature-unit-active 49.87% <ø> (ø)
openfeature-unit-latest 49.87% <ø> (ø)
openfeature-unit-maintenance 50.24% <ø> (ø)
openfeature-unit-oldest 50.24% <ø> (ø)
openfeature-windows 37.31% <ø> (-0.06%) ⬇️
platform-core 46.47% <ø> (ø)
platform-esbuild 47.49% <ø> (ø)
platform-instrumentations-misc 29.49% <ø> (ø)
platform-integration-active ?
platform-integration-latest 47.06% <ø> (+0.04%) ⬆️
platform-integration-maintenance 47.17% <ø> (ø)
platform-integration-oldest 47.27% <ø> (ø)
platform-shimmer 47.50% <ø> (ø)
platform-unit-guardrails 44.42% <ø> (ø)
platform-webpack 18.27% <ø> (ø)
plugins-aws-durable-execution-sdk-js 32.84% <ø> (-0.07%) ⬇️
plugins-axios 35.44% <ø> (ø)
plugins-azure-cosmos 35.95% <ø> (-0.06%) ⬇️
plugins-azure-event-hubs ?
plugins-azure-service-bus 35.31% <ø> (ø)
plugins-body-parser 36.43% <ø> (?)
plugins-bullmq 39.42% <ø> (-0.08%) ⬇️
plugins-cassandra 33.58% <ø> (-0.08%) ⬇️
plugins-cookie 40.72% <ø> (ø)
plugins-cookie-parser 40.55% <ø> (ø)
plugins-crypto 42.71% <ø> (ø)
plugins-dd-trace-api 33.19% <ø> (-0.08%) ⬇️
plugins-express-mongo-sanitize 40.60% <ø> (ø)
plugins-express-session 40.46% <ø> (ø)
plugins-fastify 37.77% <ø> (-0.07%) ⬇️
plugins-fetch 34.51% <ø> (-0.08%) ⬇️
plugins-fs 33.60% <ø> (-0.08%) ⬇️
plugins-generic-pool 40.02% <ø> (ø)
plugins-google-cloud-pubsub 41.31% <ø> (-0.07%) ⬇️
plugins-grpc 36.46% <ø> (-0.07%) ⬇️
plugins-handlebars 40.60% <ø> (ø)
plugins-hapi 35.55% <ø> (-0.24%) ⬇️
plugins-hono 35.88% <ø> (-0.08%) ⬇️
plugins-ioredis 34.23% <ø> (-0.08%) ⬇️
plugins-jest 26.98% <ø> (ø)
plugins-knex 40.06% <ø> (ø)
plugins-langgraph 32.30% <ø> (-0.08%) ⬇️
plugins-ldapjs 39.02% <ø> (ø)
plugins-light-my-request 40.16% <ø> (ø)
plugins-limitd-client 27.90% <ø> (-0.08%) ⬇️
plugins-lodash 40.21% <ø> (ø)
plugins-mariadb 35.07% <ø> (-0.08%) ⬇️
plugins-memcached 33.62% <ø> (-0.08%) ⬇️
plugins-microgateway-core 34.71% <ø> (-0.08%) ⬇️
plugins-modelcontextprotocol-sdk 32.26% <ø> (-0.08%) ⬇️
plugins-moleculer 36.52% <ø> (-0.08%) ⬇️
plugins-mongodb 35.81% <ø> (?)
plugins-mongodb-core 35.34% <ø> (-0.08%) ⬇️
plugins-mongoose ?
plugins-multer 40.52% <ø> (ø)
plugins-mysql 34.54% <ø> (-0.08%) ⬇️
plugins-mysql2 34.87% <ø> (-0.08%) ⬇️
plugins-nats 36.24% <ø> (?)
plugins-node-serialize ?
plugins-opensearch 33.52% <ø> (-0.08%) ⬇️
plugins-passport-http 40.33% <ø> (ø)
plugins-pino 29.81% <ø> (-0.08%) ⬇️
plugins-process 42.71% <ø> (ø)
plugins-pug 40.72% <ø> (ø)
plugins-redis ?
plugins-router 37.98% <ø> (-0.23%) ⬇️
plugins-sequelize 39.98% <ø> (ø)
plugins-test-and-upstream-amqp10 33.77% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-apollo 34.78% <ø> (-0.07%) ⬇️
plugins-test-and-upstream-avsc 33.65% <ø> (?)
plugins-test-and-upstream-bunyan 29.03% <ø> (?)
plugins-test-and-upstream-connect 36.26% <ø> (+0.14%) ⬆️
plugins-test-and-upstream-graphql 35.93% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-koa 35.82% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-protobufjs 33.89% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-rhea 39.02% <ø> (-0.08%) ⬇️
plugins-undici 34.94% <ø> (-0.07%) ⬇️
plugins-url 42.71% <ø> (ø)
plugins-valkey 33.73% <ø> (-0.08%) ⬇️
plugins-vm 42.71% <ø> (ø)
plugins-winston 29.70% <ø> (-0.08%) ⬇️
plugins-ws 37.00% <ø> (-0.08%) ⬇️
profiling-macos 43.03% <100.00%> (-0.02%) ⬇️
profiling-ubuntu 43.41% <100.00%> (-0.07%) ⬇️
profiling-windows 40.86% <100.00%> (-0.07%) ⬇️
serverless-aws-sdk-latest-aws-sdk 33.07% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-bedrockruntime 31.93% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-client 36.33% <ø> (ø)
serverless-aws-sdk-latest-dynamodb 33.88% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-eventbridge 27.03% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-kinesis 37.10% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-lambda 34.34% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-s3 32.31% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-serverless-peer-service 39.24% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-sns 38.11% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-sqs 37.73% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-stepfunctions 32.93% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-util ?
serverless-aws-sdk-oldest-aws-sdk 33.18% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-bedrockruntime 32.02% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-client 36.90% <ø> (ø)
serverless-aws-sdk-oldest-dynamodb 33.97% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-eventbridge 27.11% <ø> (?)
serverless-aws-sdk-oldest-kinesis 37.27% <ø> (?)
serverless-aws-sdk-oldest-lambda 34.44% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-s3 32.45% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-serverless-peer-service 39.33% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-sns 38.21% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-sqs 37.81% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-stepfunctions 33.03% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-util 47.64% <ø> (ø)
serverless-azure-durable-functions 36.77% <ø> (ø)
serverless-azure-functions-eventhubs 38.36% <ø> (ø)
serverless-azure-functions-servicebus 38.42% <ø> (ø)
serverless-lambda 34.29% <ø> (-0.09%) ⬇️
test-optimization-cucumber-latest-7.0.0 49.80% <ø> (+0.11%) ⬆️
test-optimization-cucumber-latest-latest 52.44% <ø> (+0.05%) ⬆️
test-optimization-cucumber-oldest-7.0.0 49.88% <ø> (+0.11%) ⬆️
test-optimization-cypress-latest-12.0.0-commonJS 48.62% <ø> (+0.08%) ⬆️
test-optimization-cypress-latest-12.0.0-esm 48.53% <ø> (+1.71%) ⬆️
test-optimization-cypress-latest-14.5.4-commonJS 48.97% <ø> (+1.78%) ⬆️
test-optimization-cypress-latest-14.5.4-esm 49.11% <ø> (+0.31%) ⬆️
test-optimization-cypress-latest-latest-commonJS 47.73% <ø> (-1.76%) ⬇️
test-optimization-cypress-latest-latest-esm 48.16% <ø> (-1.22%) ⬇️
test-optimization-cypress-oldest-12.0.0-commonJS 49.07% <ø> (+1.66%) ⬆️
test-optimization-cypress-oldest-12.0.0-esm 49.24% <ø> (+0.38%) ⬆️
test-optimization-cypress-oldest-14.5.4-commonJS 48.25% <ø> (+1.16%) ⬆️
test-optimization-cypress-oldest-14.5.4-esm 48.28% <ø> (-0.60%) ⬇️
test-optimization-jest-latest-latest 55.20% <ø> (+0.74%) ⬆️
test-optimization-jest-latest-oldest 52.23% <ø> (-1.83%) ⬇️
test-optimization-jest-oldest-latest 50.45% <ø> (-4.73%) ⬇️
test-optimization-jest-oldest-oldest 54.15% <ø> (+1.99%) ⬆️
test-optimization-mocha-latest-latest 53.46% <ø> (+0.08%) ⬆️
test-optimization-mocha-latest-oldest 51.04% <ø> (+0.08%) ⬆️
test-optimization-mocha-oldest-latest 53.57% <ø> (+0.06%) ⬆️
test-optimization-mocha-oldest-oldest 51.02% <ø> (+0.06%) ⬆️
test-optimization-playwright-latest-latest-playwright-active-test-span 44.12% <ø> (+0.26%) ⬆️
test-optimization-playwright-latest-latest-playwright-atr 42.92% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-latest-playwright-efd ?
test-optimization-playwright-latest-latest-playwright-final-status 43.41% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-latest-playwright-impacted-tests 42.87% <ø> (ø)
test-optimization-playwright-latest-latest-playwright-reporting ?
test-optimization-playwright-latest-latest-playwright-test-management 44.41% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-active-test-span 44.08% <ø> (+0.26%) ⬆️
test-optimization-playwright-latest-oldest-playwright-atr 42.98% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-efd 43.27% <ø> (+0.09%) ⬆️
test-optimization-playwright-latest-oldest-playwright-final-status 43.32% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-impacted-tests ?
test-optimization-playwright-latest-oldest-playwright-reporting 42.76% <ø> (+0.08%) ⬆️
test-optimization-playwright-latest-oldest-playwright-test-management 44.36% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-latest-playwright-active-test-span ?
test-optimization-playwright-oldest-latest-playwright-atr 43.00% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-efd 43.39% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-final-status 43.48% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-impacted-tests 42.95% <ø> (ø)
test-optimization-playwright-oldest-latest-playwright-reporting 43.01% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-test-management 44.49% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-active-test-span 44.16% <ø> (+0.26%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-atr 43.07% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-efd 43.33% <ø> (+0.09%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-final-status 43.42% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-impacted-tests 42.89% <ø> (ø)
test-optimization-playwright-oldest-oldest-playwright-reporting 42.82% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-test-management 44.45% <ø> (+0.10%) ⬆️
test-optimization-selenium-latest 45.23% <ø> (+0.06%) ⬆️
test-optimization-selenium-oldest 44.81% <ø> (-0.19%) ⬇️
test-optimization-testopt-active 48.22% <ø> (+0.12%) ⬆️
test-optimization-testopt-latest 48.22% <ø> (+0.12%) ⬆️
test-optimization-testopt-maintenance 48.20% <ø> (+0.13%) ⬆️
test-optimization-testopt-oldest 49.30% <ø> (+0.10%) ⬆️
test-optimization-vitest-latest 49.78% <ø> (-0.79%) ⬇️
test-optimization-vitest-oldest 48.04% <ø> (+0.31%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dd-octo-sts

dd-octo-sts Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 6.31 MB
Deduped: 7.38 MB
No deduping: 7.38 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.2.0 | 104.26 kB | 843.44 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Jun 23, 2026

Copy link
Copy Markdown

Tests

Fix all issues with BitsAI

⚠️ Warnings

🧪 18 Tests failed in 1 job

System Tests | main   GitHub Actions

tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing.test_api10_response_body_ignored_content_length_missing[express4] from system_tests_suite   View in Datadog
AssertionError: assert 404 == 200
 &#43;  where 404 = HttpResponse(status_code:404, headers:{&#39;X-Powered-By&#39;: &#39;Express&#39;, &#39;Strict-Transport-Security&#39;: &#39;max-age=31536000&#39;, &#39;X-...rror&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&lt;pre&gt;Cannot GET /external_request/body_limit/content_length_missing&lt;/pre&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n).status_code
 &#43;    where HttpResponse(status_code:404, headers:{&#39;X-Powered-By&#39;: &#39;Express&#39;, &#39;Strict-Transport-Security&#39;: &#39;max-age=31536000&#39;, &#39;X-...rror&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&lt;pre&gt;Cannot GET /external_request/body_limit/content_length_missing&lt;/pre&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n) = &lt;tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing object at 0x7f8f00076480&gt;.r

self = &lt;tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing object at 0x7f8f00076480&gt;

    def test_api10_response_body_ignored_content_length_missing(self):
&gt;       assert self.r.status_code == 200
E       AssertionError: assert 404 == 200
E        &#43;  where 404 = HttpResponse(status_code:404, headers:{&#39;X-Powered-By&#39;: &#39;Express&#39;, &#39;Strict-Transport-Security&#39;: &#39;max-age=31536000&#39;, &#39;X-...rror&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&lt;pre&gt;Cannot GET /external_request/body_limit/content_length_missing&lt;/pre&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n).status_code
...
tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing.test_api10_response_body_ignored_content_length_missing[express4-typescript] from system_tests_suite   View in Datadog
AssertionError: assert 404 == 200
 &#43;  where 404 = HttpResponse(status_code:404, headers:{&#39;X-Powered-By&#39;: &#39;Express&#39;, &#39;Strict-Transport-Security&#39;: &#39;max-age=31536000&#39;, &#39;X-...rror&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&lt;pre&gt;Cannot GET /external_request/body_limit/content_length_missing&lt;/pre&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n).status_code
 &#43;    where HttpResponse(status_code:404, headers:{&#39;X-Powered-By&#39;: &#39;Express&#39;, &#39;Strict-Transport-Security&#39;: &#39;max-age=31536000&#39;, &#39;X-...rror&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&lt;pre&gt;Cannot GET /external_request/body_limit/content_length_missing&lt;/pre&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n) = &lt;tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing object at 0x7faa07ae9550&gt;.r

self = &lt;tests.appsec.rasp.test_api10.Test_API10_response_body_ignored_content_length_missing object at 0x7faa07ae9550&gt;

    def test_api10_response_body_ignored_content_length_missing(self):
&gt;       assert self.r.status_code == 200
E       AssertionError: assert 404 == 200
E        &#43;  where 404 = HttpResponse(status_code:404, headers:{&#39;X-Powered-By&#39;: &#39;Express&#39;, &#39;Strict-Transport-Security&#39;: &#39;max-age=31536000&#39;, &#39;X-...rror&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&lt;pre&gt;Cannot GET /external_request/body_limit/content_length_missing&lt;/pre&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n).status_code
...

View all 18 test failures

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 89c7073 | Docs | Datadog PR Page | Give us feedback!

@pr-commenter

pr-commenter Bot commented Jun 23, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-23 20:00:18

Comparing candidate commit 89c7073 in PR branch BridgeAR/2026-06-23-profiling-exporter-private-fields with baseline commit de59f52 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1953 metrics, 12 unstable metrics.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

Unstable benchmarks

These benchmarks have a confidence interval too wide to call a change; treat them as noise rather than signal.

scenario:appsec-appsec-enabled-24

  • unstable execution_time [-148.356ms; +144.162ms] or [-5.689%; +5.529%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-174.186ms; +169.220ms] or [-6.989%; +6.789%]

scenario:appsec-control-20

  • unstable execution_time [-121.271ms; +130.581ms] or [-7.162%; +7.712%]

scenario:appsec-control-24

  • unstable execution_time [-89.624ms; +94.061ms] or [-7.502%; +7.874%]

scenario:appsec-control-26

  • unstable execution_time [-97.685ms; +95.052ms] or [-8.238%; +8.016%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-482.343ms; +166.249ms] or [-10.015%; +3.452%]
  • unstable execution_time [-482.581ms; +162.138ms] or [-9.867%; +3.315%]

scenario:plugin-graphql-long-with-depth-and-collapse-off-24

  • unstable cpu_user_time [-474.660ms; +266.030ms] or [-10.688%; +5.990%]
  • unstable execution_time [-502.114ms; +276.112ms] or [-10.627%; +5.844%]
  • unstable max_rss_usage [-51.634MB; +23.244MB] or [-9.632%; +4.336%]

scenario:plugin-graphql-long-with-depth-off-26

  • unstable max_rss_usage [-21.495MB; +14.521MB] or [-10.136%; +6.847%]

scenario:test-optimization-large-suite-20

  • unstable max_rss_usage [-4227.260KB; +3952.594KB] or [-5.313%; +4.968%]

@BridgeAR BridgeAR marked this pull request as ready for review June 23, 2026 20:25
@BridgeAR BridgeAR requested a review from a team as a code owner June 23, 2026 20:25
@szegedi szegedi merged commit 3ca1a63 into master Jun 24, 2026
1338 of 1351 checks passed
@szegedi szegedi deleted the BridgeAR/2026-06-23-profiling-exporter-private-fields branch June 24, 2026 11:23
dd-octo-sts Bot pushed a commit that referenced this pull request Jun 25, 2026
The EventSerializer, AgentExporter, and FileExporter state is read only inside
each class, so promote it to #private and let the runtime enforce the boundary
instead of the underscore convention.

AgentExporter._url stays a plain underscore property: the profiling config spec
asserts the resolved intake URL through config.exporters[0]._url, so the field
is part of a reachable surface rather than purely internal.
This was referenced Jun 25, 2026
pabloerhard pushed a commit that referenced this pull request Jun 26, 2026
The EventSerializer, AgentExporter, and FileExporter state is read only inside
each class, so promote it to #private and let the runtime enforce the boundary
instead of the underscore convention.

AgentExporter._url stays a plain underscore property: the profiling config spec
asserts the resolved intake URL through config.exporters[0]._url, so the field
is part of a reachable surface rather than purely internal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants