Datadog Serverless Monitoring
Overview
This repository provides agent-in-container images for various Docker-based Serverless monitoring solutions. Supports Azure Container Apps, Azure App Service Web Apps (Linux), and Google Cloud Run.
Changes
1.10.0
Agent Tag
Simplify and consolidate metrics submission and metrics agent termination in serverless-init
Remove DD_TRACE_PROPAGATION_STYLE environment variable override from in-container serverless-init.
Respect existing CORECLR_ENABLE_PROFILING, CORECLR_PROFILER, CORECLR_PROFILER_PATH, and DD_DOTNET_TRACER_HOME .NET tracer environment variables when running in-container.
1.9.16
Agent Tag
Remove the autodiscovery component since it is unused with serverless-init.
1.9.15
Agent Tag
1.9.14
Agent Tag
1.9.13
Agent Tag
Resolve configuration issue blocking LLMObservability + OpenFeature functionality.
1.9.12
Agent Tag
Fix Azure Container App metric prefix to azure.app_containerapps.
1.9.11
Agent Tag
Add back arm64 builds for supporting local development. Note that Serverless Init is only officially supported for Azure/GCP serverless workloads -- for other workloads, please use the main Datadog Agent .
Improvements to trace stats for Cloud Run Jobs related to shutdowns.
1.9.10
Agent Tag
Bump go to 1.25.9 in #49024
Remove arm64 builds
Fix alpine sidecar container entrypoint
1.9.9
Agent Tag
Add Enhanced CPU Metrics for Serverless in #47421
Added a Cloud Run Jobs usage metric in #48454
Skip trace/metric init when DD_API_KEY is not set in #48458
1.9.8
Agent Tag
1.9.7
Agent Tag
Fix Cloud Run Jobs shutdown metric race condition in #47827
Fix Azure Container App env var parsing in #44414
Add guards for disabled OTLP agent in serverless-int
1.9.6
Agent Tag
Improved trace stats tagging.
1.9.5
Agent Tag
Agent built with Go 1.25.7
1.9.4
Agent Tag
[SVLS-8129] Add functionname tag to Google Cloud Run function profiles #45459
[SVLS-8160] Add serverless-identifying tag to Azure App Service Windows profiles #45281
feat: [SVLS-8340] use proper tags for the cloud run job span #45335
1.9.3
Agent Tag
feat: [SVLS-8237] fix cloud run job trace parenting
#44727
[SVLS-8160] Add serverless-identifying tags to Azure App Service and Azure Container App profiles
#44361
1.9.2
Agent Tag
Resolve missing Azure Container Apps subscription_id and Resource Group tags in #44414
Isolate internal trace stats tag to traces only in #43370
1.9.1
Agent Tag
Agent built with go 1.25.5
1.9.0
Agent Tag
[Serverless] Remove Lambda Extension in #42994
[Serverless] Change serverless-init log level & remove noisy logs in #42657
Replace serverless logger with log wrapper in #42496
[AGENTRUN-901] Update http://golang.org/x/ ... dependencies in #43275
[Serverless-Init] Cloud Run Jobs Inferred Span in #43371
[Cloud Run Jobs] Remove high cardinality tags from enhanced metrics in #43837
[Cloud Run Jobs] Replace exit_code tag with error:true or error:false to reduce cardinality in #43694
1.8.2
Agent Tag
Fix cloudRunPrefix from 'gpc.run' to 'gcp.run' in #42416
[Serverless] Fix AAS Duplicated logs on restart in #42244
1.8.1
Agent Tag
fix(serverless-init): add nil channel check for service check and event flushing in #41539
[Serverless-Init] Improve Tags Performance in #41582
1.8.0
Agent Tag
Fix trace stats, ensuring agent-side or tracer-side stats computation and disabling backend stats computation.
Fix performance.
1.7.12
Agent Tag
Add exit_code tag to Cloud Run Jobs shutdown metric in #41250
Use zstd compression instead of glib for better logging performance in #41353
1.7.11
Agent Tag
1.7.10
Agent Tag
adds a new env var DD_AAS_INSTANCE_LOG_FILE_DESCRIPTOR to enable single file logging when DD_AAS_INSTANCE_LOGGING_ENABLED is set to true in #40591
1.7.9
Agent Tag
fix(serverless-init): set serverless log hostname to empty string in #40074
Cloud Run Jobs enhanced metrics in 39246
1.7.8
Agent Tag
vulnerability: upgrade go to 1.24.6 in #782
[Serverless-Init] Support Cloud Run Jobs with serverless-init
in #38737
1.7.7
Agent Tag
use GITHUB_TOKEN if available in Serverless-Init .NET install script in #748
1.7.6
Agent Tag
Fix Trace Tagging. DD_TAGS is applied as trace tags for backend indexing and processing.
1.7.5
Agent Tag
1.7.4
Agent Tag
Fix multiline stacktraces being split up into multiple logs (when serverless-init is installed in-process) in #37551
Fix flushing error logs (for in-process serverless-init) in #37710
1.7.3
Agent Tag
1.7.2
Agent Tag
WARNING: v1.7.2 can cause CPU spikes or crashes. Please use v1.7.3.
Fix multiline stacktraces being split up into multiple logs (when serverless-init is installed in-process) in #37551
1.7.1
Agent Tag
1.7.0
Agent Tag
Adds an additional option for sidecars in Azure App Services to enable per instance log tailing. #36530
1.6.1
Agent Tag
1.6.0
Agent Tag
updates function_target tag to build_function_target for GCP cloud run functions
1.5.9
Agent Tag
1.5.8
Agent Tag
Update with a security patch for http-proxy in #34923
1.5.7
Agent Tag
Update with a security patch for stdlib in #547
1.5.6
Agent Tag
Add /dd_tracer/node/node_modules to NODE_PATH for serverless-init in #33589
1.5.5
Agent Tag
Exposes gcp resource_name tag to traces and logs.
Refactors and simplifies tagging logic for gcp to reduce memory consumption
1.5.4
Agent Tag
Fixes a segmentation fault when a dogstatsd port is already in use for certain serverless container environments.
1.5.3
Agent Tag
Address CVE-2024-45338 : Non-linear parsing of case-insensitive content in golang.org/x/net/html
1.5.2
Agent Tag
1.5.1
Agent Tag
Address CVE-2024-5535: Bumping packages to latest stable versions in #1710
1.5.0
Agent Tag
Fix race condition setting global tags in Azure Container Apps in #30743
Add Back Tags to Spans Sent from Serverless-Init in #30813
[SVLS-5917] Add Azure Containerapp namespace for v2 billing in #30783
[SVLS-5506] Update cloud run tags to also account for Cloud Run Functions and Namespace in #30722
1.4.0
Agent Tag
Add namespaced azure container app tags to spans and profiles in #30637
1.3.0
Agent Tag
[SVLS-5713] Correctly set log source in sidecar mode in #30070
[Serverless] Update sidecar tagging for V2 billing in #30463
Add Metadata to Profiles from Azure Container Apps in #30428
Bump go version in alpine image to 1.23.2 in #426
1.2.9
1.2.8
Agent Tag
Agent Version: 7.56.0
bundle .NET tracer script with serverless-init #366
1.2.7
Agent Tag
Agent Version: 7.55.3
histogram_aggregates and histogram_percentiles added to serverless initialization #28102
1.2.6
Updates serverless-init to default DD_LOGS_ENABLED to false
Updates sidecar mode to default DD_LOGS_ENABLED to true
1.2.5
Adds sidecar mode for running in a sidecar
Fixes missing tags in some Azure environments
Propagate exit codes when an instrumented application errors
1.2.4
Reverts to 1.2.2 due to a bug in 1.2.3
1.2.3
There is a known issue with this version. We recommend using another version.
Adds sidecar mode for running in a sidecar
Fixes missing tags in some Azure environments
1.2.2
1.2.1
Compute trace stats for serverless-init
Fix incorrect _dd.origin tag for Azure + GCP serverless services
1.1.4
Fixes a vulnerability in opentelemetry.
1.1.3
Fixes an issue with incorrect metric bucketing that would sometimes lead to wrong values.
Fixes an issue with log line parsing in the agent that would lead to duplicated, truncated, or missing logs sometimes.
1.1.2
Fixes propagation of OS signals
1.1.1
Fixes trace agent logs not being shown despite DD_LOG_LEVEL being set to debug
Removes some debug messages
1.1.0
Fix logs splitting on .NET apps.
1.0.0
Adds support for automatically setting tracer environment variables.
beta9
Fixes a log buffering issue that caused log lines to be split up.
Adds support for DD_AZURE_RESOURCE_GROUP and DD_AZURE_SUBSCRIPTION_ID.
beta8
Adds support for OTLP.
Fixes an issue where DD_TAG and DD_EXTRA_TAG were ignored.
beta7
Fixes a regression in beta6 that had a small chance to cause application panics on startup.
Fixes an issue where custom metrics were not sent to Datadog.
Fixes an issue where Azure Container Apps logs were not correctly tagged with service.
Fixes an issue where Azure Container Apps services would sometimes send blank logs to Datadog.
beta6
Adds support for DD_PROXY_HTTP and DD_PROXY_HTTPS
beta5
Adds support for Azure Container Apps.
Removes top level span (gcp.cloudrun) from Google Cloud Run.