From f4323024eeded86232911ec08ead196f1eb9ffc2 Mon Sep 17 00:00:00 2001 From: Romain Marcadier Date: Thu, 23 Nov 2023 11:08:04 +0100 Subject: [PATCH] fix: appsec-node serverless integration test failure (#20798) Somehow this is not registering a trace anymore. For some reason I fail to understand, when instrumentation telemetry is enabled (which is te default behavior when `DD_SERVERLESS_APPSEC_ENABLED` is `true`-ish), the `appsec-node` function no longer produces a trace in a way that is captured by the `recorder-extension`. I have however been able to validate that the trace is actually still created (in a run with `DD_LOG_LEVEL=debug`). In order to fix this, explicitly disabled instrumentation telemetry so the test continues to work correctly. The actual interaction needs to be investigated later/separately, as it is not well understood today why either the Node tracer library or the recorder extension behaves differently in this particular scenario. --- Additionally, added extra logging into the recorder extension (as I was attempting to understand the issue), and improved the log normalization to also neutralize the AWS account ID. --- Finally, using feature environments to reduce the amount of deployed functions (in the serverless stacks) depending on the test suite being run. --- .github/workflows/serverless-integration.yml | 2 +- test/integration/serverless/.gitignore | 3 +- test/integration/serverless/log_normalize.py | 24 +-- .../serverless/recorder-extension/main.go | 87 ++++++---- test/integration/serverless/run.sh | 90 +++++++---- test/integration/serverless/serverless.yml | 43 ++++- .../serverless/snapshots/error-csharp | 150 +++++++++--------- .../serverless/snapshots/error-java | 150 +++++++++--------- .../serverless/snapshots/error-node | 150 +++++++++--------- .../serverless/snapshots/error-proxy | 150 +++++++++--------- .../serverless/snapshots/error-python | 150 +++++++++--------- .../serverless/snapshots/log-csharp | 72 ++++----- test/integration/serverless/snapshots/log-go | 72 ++++----- .../integration/serverless/snapshots/log-java | 84 +++++----- .../integration/serverless/snapshots/log-node | 84 +++++----- .../serverless/snapshots/log-proxy | 72 ++++----- .../serverless/snapshots/log-python | 72 ++++----- .../serverless/snapshots/metric-csharp | 138 ++++++++-------- .../serverless/snapshots/metric-go | 150 +++++++++--------- .../serverless/snapshots/metric-java | 138 ++++++++-------- .../serverless/snapshots/metric-node | 144 ++++++++--------- .../serverless/snapshots/metric-proxy | 138 ++++++++-------- .../serverless/snapshots/metric-python | 144 ++++++++--------- .../serverless/snapshots/otlp-python | 32 ++-- .../serverless/snapshots/trace-csharp | 30 ++-- .../integration/serverless/snapshots/trace-go | 42 ++--- .../serverless/snapshots/trace-java | 18 +-- .../serverless/snapshots/trace-node | 30 ++-- .../serverless/snapshots/trace-python | 30 ++-- test/integration/serverless/src/metric.js | 11 -- 30 files changed, 1289 insertions(+), 1211 deletions(-) diff --git a/.github/workflows/serverless-integration.yml b/.github/workflows/serverless-integration.yml index ffd6ac04046ca9..071af865e5f28e 100644 --- a/.github/workflows/serverless-integration.yml +++ b/.github/workflows/serverless-integration.yml @@ -63,7 +63,7 @@ jobs: timeout_minutes: 45 max_attempts: 2 command: | - RAWLOGS_DIR="${{ steps.rawlogs.outputs.dir }}/${{ matrix.architecture }}}" + RAWLOGS_DIR="${{ steps.rawlogs.outputs.dir }}/${{ matrix.architecture }}" cd go/src/github.com/DataDog/datadog-agent ARCHITECTURE=${{ matrix.architecture }} RAWLOGS_DIR=$RAWLOGS_DIR \ ./test/integration/serverless/run.sh ${{ matrix.suite }} diff --git a/test/integration/serverless/.gitignore b/test/integration/serverless/.gitignore index 372fc962fd2066..58ee4e1bbc5175 100644 --- a/test/integration/serverless/.gitignore +++ b/test/integration/serverless/.gitignore @@ -4,4 +4,5 @@ recorder-extension/extensions recorder-extension/ext.zip src/csharp-tests/bin src/csharp-tests/obj -src/java-tests/*/target \ No newline at end of file +src/java-tests/*/target +node_modules/ diff --git a/test/integration/serverless/log_normalize.py b/test/integration/serverless/log_normalize.py index cca2567c1756b8..03631437c75164 100644 --- a/test/integration/serverless/log_normalize.py +++ b/test/integration/serverless/log_normalize.py @@ -6,7 +6,7 @@ from typing import Union -def normalize_metrics(stage): +def normalize_metrics(stage, aws_account_id): def clear_dogsketches(log): log["dogsketches"] = [] @@ -28,6 +28,7 @@ def metric_sort_key(log): replace(r'(serverless.lambda-extension.integration-test.count)[0-9\.]+', r'\1'), replace(r'(architecture:)(x86_64|arm64)', r'\1XXX'), replace(stage, 'XXXXXX'), + replace(aws_account_id, '############'), exclude(r'[ ]$'), foreach(clear_dogsketches), foreach(sort_tags), @@ -35,7 +36,7 @@ def metric_sort_key(log): ] -def normalize_logs(stage): +def normalize_logs(stage, aws_account_id): rmvs = ( "DATADOG TRACER CONFIGURATION", # TODO: these messages may be an indication of a real problem and @@ -67,6 +68,7 @@ def log_sort_key(log): replace(r'([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})', r'XXX'), replace(r'"REPORT RequestId:.*?"', '"REPORT"'), replace(stage, 'XXXXXX'), + replace(aws_account_id, '############'), replace(r'(architecture:)(x86_64|arm64)', r'\1XXX'), rm_item(rm_extra_items_key), foreach(sort_tags), @@ -74,7 +76,7 @@ def log_sort_key(log): ] -def normalize_traces(stage): +def normalize_traces(stage, aws_account_id): def trace_sort_key(log): name = log['chunks'][0]['spans'][0]['name'] cold_start = log['chunks'][0]['spans'][0]['meta'].get('cold_start') @@ -113,6 +115,7 @@ def sort__dd_tags_container(log): replace(r'("faas.instance":")[a-zA-Z0-9-/]+\[\$LATEST\][a-zA-Z0-9]+"', r'\1null"'), replace(r'("_dd.tracer_hostname":)"\d{1,3}(?:.\d{1,3}){3}"+', r'\1""'), replace(stage, 'XXXXXX'), + replace(aws_account_id, '############'), exclude(r'[ ]$'), foreach(sort__dd_tags_container), sort_by(trace_sort_key), @@ -253,19 +256,19 @@ def _rm_item(log): ################### -def normalize(log, typ, stage): - for normalizer in get_normalizers(typ, stage): +def normalize(log, typ, stage, aws_account_id): + for normalizer in get_normalizers(typ, stage, aws_account_id): log = normalizer(log) return format_json(log) -def get_normalizers(typ, stage): +def get_normalizers(typ, stage, aws_account_id): if typ == 'metrics': - return normalize_metrics(stage) + return normalize_metrics(stage, aws_account_id) elif typ == 'logs': - return normalize_logs(stage) + return normalize_logs(stage, aws_account_id) elif typ == 'traces': - return normalize_traces(stage) + return normalize_traces(stage, aws_account_id) elif typ == 'appsec': return normalize_appsec(stage) else: @@ -281,6 +284,7 @@ def format_json(log): def parse_args(): parser = argparse.ArgumentParser() + parser.add_argument('--accountid', required=True) parser.add_argument('--type', required=True) parser.add_argument('--logs', required=True) parser.add_argument('--stage', required=True) @@ -295,7 +299,7 @@ def parse_args(): with open(args.logs[5:], 'r') as f: args.logs = f.read() - print(normalize(args.logs, args.type, args.stage)) + print(normalize(args.logs, args.type, args.stage, args.accountid)) except Exception as e: err: dict[str, Union[str, list[str]]] = { "error": "normalization raised exception", diff --git a/test/integration/serverless/recorder-extension/main.go b/test/integration/serverless/recorder-extension/main.go index be30f7f9f6ff17..cf8cd2d3b112be 100644 --- a/test/integration/serverless/recorder-extension/main.go +++ b/test/integration/serverless/recorder-extension/main.go @@ -62,13 +62,16 @@ func processEvents(ctx context.Context) { for { select { case <-ctx.Done(): + log("processEvent context done") return default: res, err := extensionClient.NextEvent(ctx) if err != nil { + log("an error occurred: %v", err) return } if res.EventType == Shutdown { + log("shutdown signal received") time.Sleep(1900 * time.Millisecond) return } @@ -172,7 +175,7 @@ func (e *Client) NextEvent(ctx context.Context) (*NextEventResponse, error) { return nil, err } if httpRes.StatusCode != 200 { - return nil, fmt.Errorf("request failed with status %s", httpRes.Status) + return nil, fmt.Errorf("%s %s failed with status %s", httpReq.Method, httpReq.URL.String(), httpRes.Status) } defer httpRes.Body.Close() body, err := io.ReadAll(httpRes.Body) @@ -197,12 +200,12 @@ func startHTTPServer(port string) { nbHitMetrics++ body, err := io.ReadAll(r.Body) if err != nil { - fmt.Printf("Error while reading HTTP request body: %s \n", err) + log("error while reading HTTP request body: %v", err) return } pl := new(gogen.SketchPayload) if err := pl.Unmarshal(body); err != nil { - fmt.Printf("Error while unmarshalling sketches %s \n", err) + log("error while unmarshalling sketches: %v", err) return } @@ -212,7 +215,7 @@ func startHTTPServer(port string) { // two calls + shutdown jsonSketch, err := json.Marshal(outputSketches) if err != nil { - fmt.Printf("Error while JSON encoding the sketch") + log("error while JSON encoding the sketch: %v", err) } fmt.Printf("%s%s%s\n", "BEGINMETRIC", string(jsonSketch), "ENDMETRIC") } @@ -232,9 +235,14 @@ func startHTTPServer(port string) { return } + privateLogPrefix := fmt.Sprintf("[%s]", extensionName) for _, log := range messages { msg := log.Message.Message - if strings.Contains(msg, "BEGINMETRIC") || strings.Contains(msg, "BEGINLOG") || strings.Contains(msg, "BEGINTRACE") { + if strings.Contains(msg, "BEGINMETRIC") || + strings.Contains(msg, "BEGINLOG") || + strings.Contains(msg, "BEGINTRACE") || + // "Private" entries produced by the "log" function are not reported back to the test suites. + strings.Contains(msg, privateLogPrefix) { continue } if strings.HasPrefix(msg, "REPORT RequestId:") { @@ -246,7 +254,7 @@ func startHTTPServer(port string) { if nbReport == 2 && !hasBeenOutput { jsonLogs, err := json.Marshal(outputLogs) if err != nil { - fmt.Printf("Error while JSON encoding the logs") + log("error while JSON encoding the logs: %v", err) } fmt.Printf("%s%s%s\n", "BEGINLOG", string(jsonLogs), "ENDLOG") hasBeenOutput = true // make sure not re re-output the logs @@ -254,37 +262,47 @@ func startHTTPServer(port string) { }) - http.HandleFunc("/api/v0.2/traces", func(w http.ResponseWriter, r *http.Request) { - nbHitTraces++ - body, err := io.ReadAll(r.Body) - if err != nil { - return - } - decompressedBody, err := decompress(body) - if err != nil { - return - } - pl := new(pb.AgentPayload) - if err := pl.Unmarshal(decompressedBody); err != nil { - fmt.Printf("Error while unmarshalling traces %s \n", err) - return - } + for _, version := range []string{"v0.2", "v0.4"} { + http.HandleFunc(fmt.Sprintf("/api/%s/traces", version), func(w http.ResponseWriter, r *http.Request) { + nbHitTraces++ + body, err := io.ReadAll(r.Body) + if err != nil { + return + } + decompressedBody, err := decompress(body) + if err != nil { + return + } + pl := new(pb.AgentPayload) + if err := pl.Unmarshal(decompressedBody); err != nil { + log("error while unmarshalling traces: %s", err) + return + } - outputTraces = append(outputTraces, pl.TracerPayloads...) + outputTraces = append(outputTraces, pl.TracerPayloads...) - if nbHitTraces == 2 { - jsonLogs, err := json.Marshal(outputTraces) - if err != nil { - fmt.Printf("Error while JSON encoding the traces") + if nbHitTraces == 2 { + jsonLogs, err := json.Marshal(outputTraces) + if err != nil { + log("error while JSON encoding the traces: %v", err) + } + fmt.Printf("%s%s%s\n", "BEGINTRACE", string(jsonLogs), "ENDTRACE") } - fmt.Printf("%s%s%s\n", "BEGINTRACE", string(jsonLogs), "ENDTRACE") - } - }) + }) + } - http.HandleFunc("/api/v1/series", func(w http.ResponseWriter, r *http.Request) { - }) + for _, pattern := range []string{ + "/api/v0.2/stats", + "/api/v1/check_run", + "/api/v1/series", + } { + // These endpoints are ignored by the recorder and silently return an empty success response. + http.HandleFunc(pattern, func(w http.ResponseWriter, r *http.Request) { /* do nothing */ }) + } - http.HandleFunc("/api/v1/check_run", func(w http.ResponseWriter, r *http.Request) { + // This is actually a wildcard handler.... + http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + log("unexpected request: %s %s", r.Method, r.URL.String()) }) err := http.ListenAndServe(":"+port, nil) @@ -307,3 +325,8 @@ func decompress(payload []byte) ([]byte, error) { return buffer.Bytes(), nil } + +// log records a message that is "private" to this extension and will not be reported back in the BEGINLOG...ENDLOG blocks. +func log(format string, args ...any) { + fmt.Printf("[%s] %s\n", extensionName, fmt.Sprintf(format, args...)) +} diff --git a/test/integration/serverless/run.sh b/test/integration/serverless/run.sh index 0fc85e5bd73c6d..bc02a7efad356f 100755 --- a/test/integration/serverless/run.sh +++ b/test/integration/serverless/run.sh @@ -61,7 +61,7 @@ fi SERVERLESS_INTEGRATION_TESTS_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" cd "$SERVERLESS_INTEGRATION_TESTS_DIR/../../.." -LAMBDA_EXTENSION_REPOSITORY_PATH="../datadog-lambda-extension" +LAMBDA_EXTENSION_REPOSITORY_PATH="${LAMBDA_EXTENSION_REPOSITORY_PATH:-../datadog-lambda-extension}" if [ "$BUILD_EXTENSION" != "false" ]; then echo "Building extension" @@ -84,21 +84,10 @@ cd $SERVERLESS_INTEGRATION_TESTS_DIR ./build_java_functions.sh ./build_csharp_functions.sh -if [ -z "$NODE_LAYER_VERSION" ]; then - export NODE_LAYER_VERSION=$DEFAULT_NODE_LAYER_VERSION -fi - -if [ -z "$PYTHON_LAYER_VERSION" ]; then - export PYTHON_LAYER_VERSION=$DEFAULT_PYTHON_LAYER_VERSION -fi - -if [ -z "$JAVA_TRACE_LAYER_VERSION" ]; then - export JAVA_TRACE_LAYER_VERSION=$DEFAULT_JAVA_TRACE_LAYER_VERSION -fi - -if [ -z "$DOTNET_TRACE_LAYER_VERSION" ]; then - export DOTNET_TRACE_LAYER_VERSION=$DEFAULT_DOTNET_TRACE_LAYER_VERSION -fi +export NODE_LAYER_VERSION=${NODE_LAYER_VERSION:-$DEFAULT_NODE_LAYER_VERSION} +export PYTHON_LAYER_VERSION=${PYTHON_LAYER_VERSION:-$DEFAULT_PYTHON_LAYER_VERSION} +export JAVA_TRACE_LAYER_VERSION=${JAVA_TRACE_LAYER_VERSION:-$DEFAULT_JAVA_TRACE_LAYER_VERSION} +export DOTNET_TRACE_LAYER_VERSION=${DOTNET_TRACE_LAYER_VERSION:-$DEFAULT_DOTNET_TRACE_LAYER_VERSION} echo "Testing for $ARCHITECTURE architecture" @@ -110,6 +99,9 @@ echo "Using dd-trace-dotnet layer version: $DOTNET_TRACE_LAYER_VERSION" # random 8-character ID to avoid collisions with other runs stage=$(xxd -l 4 -c 4 -p /dev/null || echo '425362996713') + function remove_stack() { echo "Removing stack" serverless remove --stage "${stage}" @@ -118,16 +110,6 @@ function remove_stack() { # always remove the stack before exiting, no matter what trap remove_stack EXIT -# a bug in opentelemetry instrumentation makes it impossible to define a -# handler inside of a directory -# see https://github.com/open-telemetry/opentelemetry-lambda/issues/655 -cp $SERVERLESS_INTEGRATION_TESTS_DIR/src/otlpPython.py $SERVERLESS_INTEGRATION_TESTS_DIR/otlpPython.py - -# deploy the stack -serverless deploy --stage "${stage}" - -rm $SERVERLESS_INTEGRATION_TESTS_DIR/otlpPython.py - metric_functions=( "metric-node" "metric-python" @@ -197,6 +179,54 @@ else all_functions=("${metric_functions[@]}" "${log_functions[@]}" "${trace_functions[@]}" "${appsec_functions[@]}") fi +# Set feature environment for the Serverless stack to avoid deploying useless stuff... +export RUN_SUITE_METRIC=false +export RUN_SUITE_TIMEOUT=false +export RUN_SUITE_ERROR=false +export RUN_SUITE_LOG=false +export RUN_SUITE_TRACE=false +export RUN_SUITE_OTLP=false +export RUN_SUITE_APPSEC=false +for function_name in "${all_functions[@]}"; do + case $function_name in + metric-*) + export RUN_SUITE_METRIC=true + ;; + timeout-*) + export RUN_SUITE_TIMEOUT=true + ;; + error-*) + export RUN_SUITE_ERROR=true + ;; + log-*) + export RUN_SUITE_LOG=true + ;; + trace-*) + export RUN_SUITE_TRACE=true + ;; + otlp-*) + export RUN_SUITE_OTLP=true + ;; + appsec-*) + export RUN_SUITE_APPSEC=true + ;; + *) + echo "⚠️ Un-mapped test function: ${function_name}, the necessary components may not be deployed!" + ;; + esac +done + +# a bug in opentelemetry instrumentation makes it impossible to define a +# handler inside of a directory +# see https://github.com/open-telemetry/opentelemetry-lambda/issues/655 +cp $SERVERLESS_INTEGRATION_TESTS_DIR/src/otlpPython.py $SERVERLESS_INTEGRATION_TESTS_DIR/otlpPython.py + +# deploy the stack +(cd ${SERVERLESS_INTEGRATION_TESTS_DIR}; npm install --no-save serverless-plugin-conditional-functions) +serverless deploy --stage "${stage}" + +rm $SERVERLESS_INTEGRATION_TESTS_DIR/otlpPython.py + # Add a function to this list to skip checking its results # This should only be used temporarily while we investigate and fix the test functions_to_skip=() @@ -236,12 +266,6 @@ for function_name in "${all_functions[@]}"; do done wait -LOGS_WAIT_MINUTES=8 -END_OF_WAIT_TIME=$(node -p "new Date(Date.now() + ${LOGS_WAIT_MINUTES} * 60_000).toLocaleTimeString()") -echo "Waiting $LOGS_WAIT_MINUTES minutes for logs to flush..." -echo "This will be done around $END_OF_WAIT_TIME" -sleep "$LOGS_WAIT_MINUTES"m - failed_functions=() if [ -z $RAWLOGS_DIR ]; then @@ -292,7 +316,7 @@ for function_name in "${all_functions[@]}"; do else norm_type=traces fi - logs=$(python3 log_normalize.py --type $norm_type --logs "$raw_logs" --stage $stage) + logs=$(python3 log_normalize.py --accountid ${aws_account} --type $norm_type --logs "$raw_logs" --stage $stage) function_snapshot_path="./snapshots/${function_name}" diff --git a/test/integration/serverless/serverless.yml b/test/integration/serverless/serverless.yml index 59c80bfdcbc787..c4d68f38e61022 100644 --- a/test/integration/serverless/serverless.yml +++ b/test/integration/serverless/serverless.yml @@ -2,6 +2,9 @@ service: integration-tests-extension frameworkVersion: "3" +plugins: + - serverless-plugin-conditional-functions + resources: Description: "[Serverless] Integration tests application for lambda extension" @@ -63,6 +66,7 @@ layers: functions: appsec-node: + enabled: '"${env:RUN_SUITE_APPSEC}" == "true"' runtime: nodejs18.x handler: /opt/nodejs/node_modules/datadog-lambda-js/handler.handler layers: @@ -71,10 +75,14 @@ functions: - { Ref: DatadogExtensionIntegrationTestLambdaLayer } environment: AWS_LAMBDA_EXEC_WRAPPER: /opt/datadog_wrapper - DD_LAMBDA_HANDLER: src/metric.appSecHandler + DD_LAMBDA_HANDLER: src/trace.simpleTest DD_SERVERLESS_APPSEC_ENABLED: true + # Explicitly disable instrumentation telemetry as this causes the traces to somehow no longer be seen by the recorder. + DD_INSTRUMENTATION_TELEMETRY_ENABLED: false + DD_TRACE_TELEMETRY_ENABLED: false appsec-python: + enabled: '"${env:RUN_SUITE_APPSEC}" == "true"' runtime: python3.11 handler: datadog_lambda.handler.handler layers: @@ -87,6 +95,7 @@ functions: DD_SERVERLESS_APPSEC_ENABLED: true appsec-java: + enabled: '"${env:RUN_SUITE_APPSEC}" == "true"' runtime: java8.al2 handler: Handler package: @@ -103,6 +112,7 @@ functions: DD_SERVERLESS_APPSEC_ENABLED: true appsec-go: + enabled: '"${env:RUN_SUITE_APPSEC}" == "true"' runtime: provided.al2 package: individually: true @@ -117,6 +127,7 @@ functions: DD_SERVERLESS_APPSEC_ENABLED: true appsec-csharp: + enabled: '"${env:RUN_SUITE_APPSEC}" == "true"' runtime: dotnet6 handler: CsharpHandlers::AwsDotnetCsharp.Handler::Hello package: @@ -131,6 +142,7 @@ functions: DD_SERVERLESS_APPSEC_ENABLED: true metric-node: + enabled: '"${env:RUN_SUITE_METRIC}" == "true"' runtime: nodejs14.x handler: src/metric.enhancedMetricTest layers: @@ -139,6 +151,7 @@ functions: - { Ref: DatadogExtensionIntegrationTestLambdaLayer } metric-python: + enabled: '"${env:RUN_SUITE_METRIC}" == "true"' runtime: python3.8 handler: datadog_lambda.handler.handler layers: @@ -149,6 +162,7 @@ functions: DD_LAMBDA_HANDLER: src/metricPython.metric metric-go: + enabled: '"${env:RUN_SUITE_METRIC}" == "true"' runtime: provided.al2 package: individually: true @@ -160,6 +174,7 @@ functions: - { Ref: DatadogExtensionIntegrationTestLambdaLayer } metric-java: + enabled: '"${env:RUN_SUITE_METRIC}" == "true"' runtime: java8.al2 handler: Handler package: @@ -174,6 +189,7 @@ functions: DD_JMXFETCH_ENABLED: false metric-csharp: + enabled: '"${env:RUN_SUITE_METRIC}" == "true"' runtime: dotnet6 handler: CsharpHandlers::AwsDotnetCsharp.Handler::Hello package: @@ -187,6 +203,7 @@ functions: AWS_LAMBDA_EXEC_WRAPPER: /opt/datadog_wrapper metric-proxy: + enabled: '"${env:RUN_SUITE_METRIC}" == "true"' runtime: nodejs14.x handler: src/proxyTestFunctions.noop layers: @@ -197,6 +214,7 @@ functions: AWS_LAMBDA_EXEC_WRAPPER: /opt/datadog_wrapper error-node: + enabled: '"${env:RUN_SUITE_ERROR}" == "true"' runtime: nodejs14.x handler: src/metric.errorTest layers: @@ -205,6 +223,7 @@ functions: - { Ref: DatadogExtensionIntegrationTestLambdaLayer } error-python: + enabled: '"${env:RUN_SUITE_ERROR}" == "true"' runtime: python3.8 handler: datadog_lambda.handler.handler layers: @@ -215,6 +234,7 @@ functions: DD_LAMBDA_HANDLER: src/metricPython.error error-java: + enabled: '"${env:RUN_SUITE_ERROR}" == "true"' runtime: java8.al2 handler: ErrorHandler package: @@ -229,6 +249,7 @@ functions: DD_JMXFETCH_ENABLED: false error-csharp: + enabled: '"${env:RUN_SUITE_ERROR}" == "true"' runtime: dotnet6 handler: CsharpHandlers::AwsDotnetCsharp.Handler::Error package: @@ -242,6 +263,7 @@ functions: AWS_LAMBDA_EXEC_WRAPPER: /opt/datadog_wrapper error-proxy: + enabled: '"${env:RUN_SUITE_ERROR}" == "true"' runtime: nodejs14.x handler: src/proxyTestFunctions.error layers: @@ -252,6 +274,7 @@ functions: AWS_LAMBDA_EXEC_WRAPPER: /opt/datadog_wrapper timeout-node: + enabled: '"${env:RUN_SUITE_TIMEOUT}" == "true"' runtime: nodejs14.x timeout: 1 handler: src/metric.timeoutMetricTest @@ -261,6 +284,7 @@ functions: - { Ref: DatadogExtensionIntegrationTestLambdaLayer } timeout-python: + enabled: '"${env:RUN_SUITE_TIMEOUT}" == "true"' runtime: python3.8 timeout: 1 handler: datadog_lambda.handler.handler @@ -272,6 +296,7 @@ functions: DD_LAMBDA_HANDLER: src/metricPython.timeout timeout-go: + enabled: '"${env:RUN_SUITE_TIMEOUT}" == "true"' runtime: provided.al2 timeout: 1 package: @@ -284,6 +309,7 @@ functions: - { Ref: DatadogExtensionIntegrationTestLambdaLayer } timeout-java: + enabled: '"${env:RUN_SUITE_TIMEOUT}" == "true"' runtime: java8.al2 handler: TimeoutHandler timeout: 1 @@ -299,6 +325,7 @@ functions: DD_JMXFETCH_ENABLED: false timeout-csharp: + enabled: '"${env:RUN_SUITE_TIMEOUT}" == "true"' runtime: dotnet6 handler: CsharpHandlers::AwsDotnetCsharp.Handler::Timeout timeout: 1 @@ -313,6 +340,7 @@ functions: AWS_LAMBDA_EXEC_WRAPPER: /opt/datadog_wrapper timeout-proxy: + enabled: '"${env:RUN_SUITE_TIMEOUT}" == "true"' runtime: nodejs14.x handler: src/proxyTestFunctions.timeout layers: @@ -323,6 +351,7 @@ functions: AWS_LAMBDA_EXEC_WRAPPER: /opt/datadog_wrapper log-node: + enabled: '"${env:RUN_SUITE_LOG}" == "true"' runtime: nodejs14.x handler: src/log.logTest layers: @@ -331,6 +360,7 @@ functions: - { Ref: DatadogExtensionIntegrationTestLambdaLayer } log-python: + enabled: '"${env:RUN_SUITE_LOG}" == "true"' runtime: python3.8 handler: datadog_lambda.handler.handler layers: @@ -341,6 +371,7 @@ functions: DD_LAMBDA_HANDLER: src/logPython.log log-go: + enabled: '"${env:RUN_SUITE_LOG}" == "true"' runtime: provided.al2 package: individually: true @@ -352,6 +383,7 @@ functions: - { Ref: DatadogExtensionIntegrationTestLambdaLayer } log-csharp: + enabled: '"${env:RUN_SUITE_LOG}" == "true"' runtime: dotnet6 handler: CsharpHandlers::AwsDotnetCsharp.Handler::Logs package: @@ -365,6 +397,7 @@ functions: AWS_LAMBDA_EXEC_WRAPPER: /opt/datadog_wrapper log-java: + enabled: '"${env:RUN_SUITE_LOG}" == "true"' runtime: java8.al2 handler: LogHandler package: @@ -379,6 +412,7 @@ functions: DD_JMXFETCH_ENABLED: false log-proxy: + enabled: '"${env:RUN_SUITE_LOG}" == "true"' runtime: nodejs14.x handler: src/proxyTestFunctions.log layers: @@ -389,6 +423,7 @@ functions: AWS_LAMBDA_EXEC_WRAPPER: /opt/datadog_wrapper trace-node: + enabled: '"${env:RUN_SUITE_TRACE}" == "true"' runtime: nodejs14.x handler: /opt/nodejs/node_modules/datadog-lambda-js/handler.handler layers: @@ -399,6 +434,7 @@ functions: DD_LAMBDA_HANDLER: src/trace.simpleTest trace-python: + enabled: '"${env:RUN_SUITE_TRACE}" == "true"' runtime: python3.8 handler: datadog_lambda.handler.handler layers: @@ -409,6 +445,7 @@ functions: DD_LAMBDA_HANDLER: src/tracePython.simple_test trace-go: + enabled: '"${env:RUN_SUITE_TRACE}" == "true"' runtime: provided.al2 package: individually: true @@ -420,6 +457,7 @@ functions: - { Ref: DatadogExtensionIntegrationTestLambdaLayer } trace-java: + enabled: '"${env:RUN_SUITE_TRACE}" == "true"' runtime: java8.al2 handler: TraceHandler package: @@ -434,6 +472,7 @@ functions: DD_JMXFETCH_ENABLED: false trace-csharp: + enabled: '"${env:RUN_SUITE_TRACE}" == "true"' runtime: dotnet6 handler: CsharpHandlers::AwsDotnetCsharp.Handler::Trace package: @@ -447,6 +486,7 @@ functions: AWS_LAMBDA_EXEC_WRAPPER: /opt/datadog_wrapper trace-proxy: + enabled: '"${env:RUN_SUITE_TRACE}" == "true"' runtime: nodejs14.x handler: src/proxyTestFunctions.noop layers: @@ -457,6 +497,7 @@ functions: AWS_LAMBDA_EXEC_WRAPPER: /opt/datadog_wrapper otlp-python: + enabled: '"${env:RUN_SUITE_OTLP}" == "true"' runtime: python3.8 # a bug in opentelemetry instrumentation makes it impossible to define a # handler inside of a directory diff --git a/test/integration/serverless/snapshots/error-csharp b/test/integration/serverless/snapshots/error-csharp index da1c8367708fc1..9b78fda5f60003 100644 --- a/test/integration/serverless/snapshots/error-csharp +++ b/test/integration/serverless/snapshots/error-csharp @@ -4,13 +4,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -29,13 +29,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -54,13 +54,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -79,13 +79,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -104,12 +104,12 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.errors", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -128,12 +128,12 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.errors", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -152,13 +152,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -177,13 +177,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -202,13 +202,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.init_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -227,13 +227,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "init_type:on-demand", "memorysize:1024", @@ -253,13 +253,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "init_type:on-demand", "memorysize:1024", @@ -279,13 +279,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -304,13 +304,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -329,13 +329,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -354,13 +354,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -379,13 +379,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -404,13 +404,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -429,13 +429,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -454,13 +454,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -479,13 +479,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -504,13 +504,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -529,13 +529,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -554,13 +554,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -579,13 +579,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", @@ -604,13 +604,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-csharp", "functionname:integration-tests-extension-XXXXXX-error-csharp", "memorysize:1024", "region:eu-west-1", diff --git a/test/integration/serverless/snapshots/error-java b/test/integration/serverless/snapshots/error-java index db621bc7e66f2a..1ec9bfe8073f41 100644 --- a/test/integration/serverless/snapshots/error-java +++ b/test/integration/serverless/snapshots/error-java @@ -4,13 +4,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -29,13 +29,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -54,13 +54,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -79,13 +79,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -104,12 +104,12 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.errors", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -128,12 +128,12 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.errors", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -152,13 +152,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -177,13 +177,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -202,13 +202,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.init_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -227,13 +227,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "init_type:on-demand", "memorysize:1024", @@ -253,13 +253,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "init_type:on-demand", "memorysize:1024", @@ -279,13 +279,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -304,13 +304,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -329,13 +329,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -354,13 +354,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -379,13 +379,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -404,13 +404,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -429,13 +429,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -454,13 +454,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -479,13 +479,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -504,13 +504,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -529,13 +529,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -554,13 +554,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -579,13 +579,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", @@ -604,13 +604,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-java", "functionname:integration-tests-extension-XXXXXX-error-java", "memorysize:1024", "region:eu-west-1", diff --git a/test/integration/serverless/snapshots/error-node b/test/integration/serverless/snapshots/error-node index 8f9b7cf1e0dfd5..8b3d05f0b7c2e2 100644 --- a/test/integration/serverless/snapshots/error-node +++ b/test/integration/serverless/snapshots/error-node @@ -4,13 +4,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -29,13 +29,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -54,13 +54,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -79,13 +79,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -104,14 +104,14 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.errors", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "datadog_lambda:vX.X.X", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -130,14 +130,14 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.errors", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "datadog_lambda:vX.X.X", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -156,13 +156,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -181,13 +181,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -206,13 +206,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.init_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -231,13 +231,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "init_type:on-demand", "memorysize:1024", @@ -257,13 +257,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "init_type:on-demand", "memorysize:1024", @@ -283,13 +283,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -308,13 +308,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -333,13 +333,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -358,13 +358,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -383,13 +383,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -408,13 +408,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -433,13 +433,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -458,13 +458,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -483,13 +483,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -508,13 +508,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -533,13 +533,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -558,13 +558,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -583,13 +583,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", @@ -608,13 +608,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-node", "functionname:integration-tests-extension-XXXXXX-error-node", "memorysize:1024", "region:eu-west-1", diff --git a/test/integration/serverless/snapshots/error-proxy b/test/integration/serverless/snapshots/error-proxy index 3c66e9f74f48bc..7b77638d7e0977 100644 --- a/test/integration/serverless/snapshots/error-proxy +++ b/test/integration/serverless/snapshots/error-proxy @@ -4,13 +4,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -29,13 +29,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -54,13 +54,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -79,13 +79,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -104,12 +104,12 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.errors", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -128,12 +128,12 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.errors", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -152,13 +152,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -177,13 +177,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -202,13 +202,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.init_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -227,13 +227,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "init_type:on-demand", "memorysize:1024", @@ -253,13 +253,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "init_type:on-demand", "memorysize:1024", @@ -279,13 +279,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -304,13 +304,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -329,13 +329,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -354,13 +354,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -379,13 +379,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -404,13 +404,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -429,13 +429,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -454,13 +454,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -479,13 +479,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -504,13 +504,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -529,13 +529,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -554,13 +554,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -579,13 +579,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", @@ -604,13 +604,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-proxy", "functionname:integration-tests-extension-XXXXXX-error-proxy", "memorysize:1024", "region:eu-west-1", diff --git a/test/integration/serverless/snapshots/error-python b/test/integration/serverless/snapshots/error-python index 6f0470e8d1d5db..bae49737f5b286 100644 --- a/test/integration/serverless/snapshots/error-python +++ b/test/integration/serverless/snapshots/error-python @@ -4,13 +4,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -29,13 +29,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -54,13 +54,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -79,13 +79,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -104,15 +104,15 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.errors", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "datadog_lambda:vX.X.X", "dd_extension_version:123", "dd_lambda_layer:datadog-pythonX.X.X", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -131,15 +131,15 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.errors", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "datadog_lambda:vX.X.X", "dd_extension_version:123", "dd_lambda_layer:datadog-pythonX.X.X", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -158,13 +158,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -183,13 +183,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -208,13 +208,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.init_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -233,13 +233,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "init_type:on-demand", "memorysize:1024", @@ -259,13 +259,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "init_type:on-demand", "memorysize:1024", @@ -285,13 +285,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -310,13 +310,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -335,13 +335,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -360,13 +360,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -385,13 +385,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -410,13 +410,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -435,13 +435,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -460,13 +460,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -485,13 +485,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -510,13 +510,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -535,13 +535,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -560,13 +560,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -585,13 +585,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", @@ -610,13 +610,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-error-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-error-python", "functionname:integration-tests-extension-XXXXXX-error-python", "memorysize:1024", "region:eu-west-1", diff --git a/test/integration/serverless/snapshots/log-csharp b/test/integration/serverless/snapshots/log-csharp index 4e7db38a778eec..b8d39b7014b4f4 100644 --- a/test/integration/serverless/snapshots/log-csharp +++ b/test/integration/serverless/snapshots/log-csharp @@ -1,11 +1,11 @@ [ { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "request_id": "XXX" }, "message": "END RequestId: XXX" @@ -16,11 +16,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "request_id": "XXX" }, "message": "END RequestId: XXX" @@ -31,11 +31,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "request_id": "XXX" }, "message": "REPORT" @@ -46,11 +46,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "request_id": "XXX" }, "message": "REPORT" @@ -61,11 +61,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "request_id": "XXX" }, "message": "START RequestId: XXX Version: $LATEST" @@ -76,11 +76,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "request_id": "XXX" }, "message": "START RequestId: XXX Version: $LATEST" @@ -91,11 +91,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tinfo\tXXX Log 0 XXX\n" @@ -106,11 +106,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tinfo\tXXX Log 0 XXX\n" @@ -121,11 +121,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tinfo\tXXX Log 1 XXX\n" @@ -136,11 +136,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tinfo\tXXX Log 1 XXX\n" @@ -151,11 +151,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tinfo\tXXX Log 2 XXX\n" @@ -166,11 +166,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp,functionname:integration-tests-extension-XXXXXX-log-csharp,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-csharp,runtime:dotnet6,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-csharp", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-csharp", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tinfo\tXXX Log 2 XXX\n" diff --git a/test/integration/serverless/snapshots/log-go b/test/integration/serverless/snapshots/log-go index e203be23c41cd7..b587ff7e826da0 100644 --- a/test/integration/serverless/snapshots/log-go +++ b/test/integration/serverless/snapshots/log-go @@ -1,11 +1,11 @@ [ { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "request_id": "XXX" }, "message": "END RequestId: XXX" @@ -16,11 +16,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "request_id": "XXX" }, "message": "END RequestId: XXX" @@ -31,11 +31,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "request_id": "XXX" }, "message": "REPORT" @@ -46,11 +46,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "request_id": "XXX" }, "message": "REPORT" @@ -61,11 +61,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "request_id": "XXX" }, "message": "START RequestId: XXX Version: $LATEST" @@ -76,11 +76,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "request_id": "XXX" }, "message": "START RequestId: XXX Version: $LATEST" @@ -91,11 +91,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "request_id": "XXX" }, "message": "XXX LOG 0 XXX\n" @@ -106,11 +106,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "request_id": "XXX" }, "message": "XXX LOG 0 XXX\n" @@ -121,11 +121,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "request_id": "XXX" }, "message": "XXX LOG 1 XXX\n" @@ -136,11 +136,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "request_id": "XXX" }, "message": "XXX LOG 1 XXX\n" @@ -151,11 +151,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "request_id": "XXX" }, "message": "XXX LOG 2 XXX\n" @@ -166,11 +166,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go,functionname:integration-tests-extension-XXXXXX-log-go,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-go,runtime:provided.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-go", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-go", "request_id": "XXX" }, "message": "XXX LOG 2 XXX\n" diff --git a/test/integration/serverless/snapshots/log-java b/test/integration/serverless/snapshots/log-java index 3d34d7da6f0fe2..2537a2d6b9fb3a 100644 --- a/test/integration/serverless/snapshots/log-java +++ b/test/integration/serverless/snapshots/log-java @@ -1,11 +1,11 @@ [ { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "END RequestId: XXX" @@ -16,11 +16,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "END RequestId: XXX" @@ -31,11 +31,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "Picked up JAVA_TOOL_OPTIONS: -javaagent:\"/opt/java/lib/dd-java-agent.jar\" -XX:+TieredCompilation -XX:TieredStopAtLevel=1\n" @@ -46,11 +46,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "REPORT" @@ -61,11 +61,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "REPORT" @@ -76,11 +76,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "START RequestId: XXX Version: $LATEST" @@ -91,11 +91,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "START RequestId: XXX Version: $LATEST" @@ -106,11 +106,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "XXX Log 0 XXX\n" @@ -121,11 +121,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "XXX Log 0 XXX\n" @@ -136,11 +136,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "XXX Log 1 XXX\n" @@ -151,11 +151,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "XXX Log 1 XXX\n" @@ -166,11 +166,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "XXX Log 2 XXX\n" @@ -181,11 +181,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "XXX Log 2 XXX\n" @@ -196,11 +196,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java,functionname:integration-tests-extension-XXXXXX-log-java,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-java,runtime:java8.al2,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-java", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-java", "request_id": "XXX" }, "message": "[dd.trace TIMESTAMP +0000] [main] INFO datadog.trace.agent.common.writer.WriterFactory - Detected serverless environment. Serverless extension has been detected, using DDAgentWriter\n" diff --git a/test/integration/serverless/snapshots/log-node b/test/integration/serverless/snapshots/log-node index 13bee5510d8375..49aebfd84791b4 100644 --- a/test/integration/serverless/snapshots/log-node +++ b/test/integration/serverless/snapshots/log-node @@ -1,11 +1,11 @@ [ { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "END RequestId: XXX" @@ -16,11 +16,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "END RequestId: XXX" @@ -31,11 +31,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "REPORT" @@ -46,11 +46,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "REPORT" @@ -61,11 +61,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "START RequestId: XXX Version: $LATEST" @@ -76,11 +76,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "START RequestId: XXX Version: $LATEST" @@ -91,11 +91,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG 0 XXX\n" @@ -106,11 +106,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG 0 XXX\n" @@ -121,11 +121,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG 1 XXX\n" @@ -136,11 +136,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG 1 XXX\n" @@ -151,11 +151,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG 2 XXX\n" @@ -166,11 +166,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG 2 XXX\n" @@ -181,11 +181,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG masked XXX\n" @@ -196,11 +196,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node,functionname:integration-tests-extension-XXXXXX-log-node,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-node,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-node", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-node", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG masked XXX\n" diff --git a/test/integration/serverless/snapshots/log-proxy b/test/integration/serverless/snapshots/log-proxy index 594c1d25ea9b53..2813091d9d81c7 100644 --- a/test/integration/serverless/snapshots/log-proxy +++ b/test/integration/serverless/snapshots/log-proxy @@ -1,11 +1,11 @@ [ { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "request_id": "XXX" }, "message": "END RequestId: XXX" @@ -16,11 +16,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "request_id": "XXX" }, "message": "END RequestId: XXX" @@ -31,11 +31,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "request_id": "XXX" }, "message": "REPORT" @@ -46,11 +46,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "request_id": "XXX" }, "message": "REPORT" @@ -61,11 +61,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "request_id": "XXX" }, "message": "START RequestId: XXX Version: $LATEST" @@ -76,11 +76,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "request_id": "XXX" }, "message": "START RequestId: XXX Version: $LATEST" @@ -91,11 +91,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG 0 XXX\n" @@ -106,11 +106,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG 0 XXX\n" @@ -121,11 +121,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG 1 XXX\n" @@ -136,11 +136,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG 1 XXX\n" @@ -151,11 +151,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG 2 XXX\n" @@ -166,11 +166,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy,functionname:integration-tests-extension-XXXXXX-log-proxy,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-proxy,runtime:nodejs14.x,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-proxy", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-proxy", "request_id": "XXX" }, "message": "TIMESTAMP\tXXX\tERROR\tXXX LOG 2 XXX\n" diff --git a/test/integration/serverless/snapshots/log-python b/test/integration/serverless/snapshots/log-python index eaffebdc33bf94..957603b9901296 100644 --- a/test/integration/serverless/snapshots/log-python +++ b/test/integration/serverless/snapshots/log-python @@ -1,11 +1,11 @@ [ { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "request_id": "XXX" }, "message": "END RequestId: XXX" @@ -16,11 +16,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "request_id": "XXX" }, "message": "END RequestId: XXX" @@ -31,11 +31,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "request_id": "XXX" }, "message": "REPORT" @@ -46,11 +46,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "request_id": "XXX" }, "message": "REPORT" @@ -61,11 +61,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "request_id": "XXX" }, "message": "START RequestId: XXX Version: $LATEST" @@ -76,11 +76,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "request_id": "XXX" }, "message": "START RequestId: XXX Version: $LATEST" @@ -91,11 +91,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "request_id": "XXX" }, "message": "[ERROR]\tTIMESTAMP\tXXX\tXXX LOG 0 XXX\n" @@ -106,11 +106,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "request_id": "XXX" }, "message": "[ERROR]\tTIMESTAMP\tXXX\tXXX LOG 0 XXX\n" @@ -121,11 +121,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "request_id": "XXX" }, "message": "[ERROR]\tTIMESTAMP\tXXX\tXXX LOG 1 XXX\n" @@ -136,11 +136,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "request_id": "XXX" }, "message": "[ERROR]\tTIMESTAMP\tXXX\tXXX LOG 1 XXX\n" @@ -151,11 +151,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "request_id": "XXX" }, "message": "[ERROR]\tTIMESTAMP\tXXX\tXXX LOG 2 XXX\n" @@ -166,11 +166,11 @@ }, { "ddsource": "lambda", - "ddtags": "account_id:425362996713,architecture:XXX,aws_account:425362996713,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", - "hostname": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "ddtags": "account_id:############,architecture:XXX,aws_account:############,dd_extension_version:123,env:integration-tests-env,function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python,functionname:integration-tests-extension-XXXXXX-log-python,memorysize:1024,region:eu-west-1,resource:integration-tests-extension-XXXXXX-log-python,runtime:python3.8,service:integration-tests-service,taga:valuea,tagb:valueb,tagc:valuec,tagd:valued,version:integration-tests-version", + "hostname": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "message": { "lambda": { - "arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-log-python", + "arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-log-python", "request_id": "XXX" }, "message": "[ERROR]\tTIMESTAMP\tXXX\tXXX LOG 2 XXX\n" diff --git a/test/integration/serverless/snapshots/metric-csharp b/test/integration/serverless/snapshots/metric-csharp index 4272284d37a61c..0ebd3c754e43ea 100644 --- a/test/integration/serverless/snapshots/metric-csharp +++ b/test/integration/serverless/snapshots/metric-csharp @@ -4,13 +4,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -29,13 +29,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -54,13 +54,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -79,13 +79,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -104,13 +104,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -129,13 +129,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -154,13 +154,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.init_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -179,13 +179,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "init_type:on-demand", "memorysize:1024", @@ -205,13 +205,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "init_type:on-demand", "memorysize:1024", @@ -231,13 +231,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -256,13 +256,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -281,13 +281,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -306,13 +306,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -331,13 +331,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -356,13 +356,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -381,13 +381,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -406,13 +406,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -431,13 +431,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -456,13 +456,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -481,13 +481,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -506,13 +506,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -531,13 +531,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", @@ -556,13 +556,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-csharp", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-csharp", "functionname:integration-tests-extension-XXXXXX-metric-csharp", "memorysize:1024", "region:eu-west-1", diff --git a/test/integration/serverless/snapshots/metric-go b/test/integration/serverless/snapshots/metric-go index 1eb7ec6bf79ed6..17159b43de8142 100644 --- a/test/integration/serverless/snapshots/metric-go +++ b/test/integration/serverless/snapshots/metric-go @@ -4,13 +4,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -29,13 +29,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -54,13 +54,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -79,13 +79,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -104,13 +104,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -129,13 +129,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -154,13 +154,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.init_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -179,13 +179,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "init_type:on-demand", "memorysize:1024", @@ -205,13 +205,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "init_type:on-demand", "memorysize:1024", @@ -231,13 +231,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -256,13 +256,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -281,13 +281,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -306,13 +306,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -331,13 +331,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -356,13 +356,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -381,13 +381,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -406,13 +406,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -431,13 +431,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -456,13 +456,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -481,13 +481,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -506,13 +506,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -531,13 +531,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -556,13 +556,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -581,13 +581,13 @@ "dogsketches": [], "metric": "serverless.lambda-extension.integration-test.count", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "dd_extension_version:123", "dd_lambda_layer:datadog-gox.x.x", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", @@ -606,13 +606,13 @@ "dogsketches": [], "metric": "serverless.lambda-extension.integration-test.count", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "dd_extension_version:123", "dd_lambda_layer:datadog-gox.x.x", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-go", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-go", "functionname:integration-tests-extension-XXXXXX-metric-go", "memorysize:1024", "region:eu-west-1", diff --git a/test/integration/serverless/snapshots/metric-java b/test/integration/serverless/snapshots/metric-java index 5c78387d216484..d6300406219862 100644 --- a/test/integration/serverless/snapshots/metric-java +++ b/test/integration/serverless/snapshots/metric-java @@ -4,13 +4,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -29,13 +29,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -54,13 +54,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -79,13 +79,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -104,13 +104,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -129,13 +129,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -154,13 +154,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.init_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -179,13 +179,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "init_type:on-demand", "memorysize:1024", @@ -205,13 +205,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "init_type:on-demand", "memorysize:1024", @@ -231,13 +231,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -256,13 +256,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -281,13 +281,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -306,13 +306,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -331,13 +331,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -356,13 +356,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -381,13 +381,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -406,13 +406,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -431,13 +431,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -456,13 +456,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -481,13 +481,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -506,13 +506,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -531,13 +531,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", @@ -556,13 +556,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-java", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-java", "functionname:integration-tests-extension-XXXXXX-metric-java", "memorysize:1024", "region:eu-west-1", diff --git a/test/integration/serverless/snapshots/metric-node b/test/integration/serverless/snapshots/metric-node index ebb32d81b2b389..7614f17c9f97b8 100644 --- a/test/integration/serverless/snapshots/metric-node +++ b/test/integration/serverless/snapshots/metric-node @@ -4,13 +4,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -29,13 +29,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -54,13 +54,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -79,13 +79,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -104,13 +104,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -129,13 +129,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -154,13 +154,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.init_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -179,13 +179,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "init_type:on-demand", "memorysize:1024", @@ -205,13 +205,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "init_type:on-demand", "memorysize:1024", @@ -231,13 +231,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -256,13 +256,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -281,13 +281,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -306,13 +306,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -331,13 +331,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -356,13 +356,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -381,13 +381,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -406,13 +406,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -431,13 +431,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -456,13 +456,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -481,13 +481,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -506,13 +506,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -531,13 +531,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -556,13 +556,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", @@ -581,13 +581,13 @@ "dogsketches": [], "metric": "serverless.lambda-extension.integration-test.count", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "dd_extension_version:123", "dd_lambda_layer:datadog-nodevX.X.X", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-node", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-node", "functionname:integration-tests-extension-XXXXXX-metric-node", "memorysize:1024", "region:eu-west-1", diff --git a/test/integration/serverless/snapshots/metric-proxy b/test/integration/serverless/snapshots/metric-proxy index 5803146aa5af96..6a9961088bf0bd 100644 --- a/test/integration/serverless/snapshots/metric-proxy +++ b/test/integration/serverless/snapshots/metric-proxy @@ -4,13 +4,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -29,13 +29,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -54,13 +54,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -79,13 +79,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -104,13 +104,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -129,13 +129,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -154,13 +154,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.init_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -179,13 +179,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "init_type:on-demand", "memorysize:1024", @@ -205,13 +205,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "init_type:on-demand", "memorysize:1024", @@ -231,13 +231,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -256,13 +256,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -281,13 +281,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -306,13 +306,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -331,13 +331,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -356,13 +356,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -381,13 +381,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -406,13 +406,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -431,13 +431,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -456,13 +456,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -481,13 +481,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -506,13 +506,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -531,13 +531,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", @@ -556,13 +556,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-proxy", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-proxy", "functionname:integration-tests-extension-XXXXXX-metric-proxy", "memorysize:1024", "region:eu-west-1", diff --git a/test/integration/serverless/snapshots/metric-python b/test/integration/serverless/snapshots/metric-python index d343fcf4a21bc1..8b39a82c880ab0 100644 --- a/test/integration/serverless/snapshots/metric-python +++ b/test/integration/serverless/snapshots/metric-python @@ -4,13 +4,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -29,13 +29,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.billed_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -54,13 +54,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -79,13 +79,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -104,13 +104,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -129,13 +129,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.estimated_cost", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -154,13 +154,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.init_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -179,13 +179,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "init_type:on-demand", "memorysize:1024", @@ -205,13 +205,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.invocations", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "init_type:on-demand", "memorysize:1024", @@ -231,13 +231,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -256,13 +256,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.max_memory_used", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -281,13 +281,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -306,13 +306,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.memorysize", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -331,13 +331,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -356,13 +356,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.post_runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -381,13 +381,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -406,13 +406,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.produced_bytes", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -431,13 +431,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -456,13 +456,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -481,13 +481,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -506,13 +506,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.response_latency", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -531,13 +531,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:false", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -556,13 +556,13 @@ "dogsketches": [], "metric": "aws.lambda.enhanced.runtime_duration", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "cold_start:true", "dd_extension_version:123", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", @@ -581,13 +581,13 @@ "dogsketches": [], "metric": "serverless.lambda-extension.integration-test.count", "tags": [ - "account_id:425362996713", + "account_id:############", "architecture:XXX", - "aws_account:425362996713", + "aws_account:############", "dd_extension_version:123", "dd_lambda_layer:datadog-pythonX.X.X", "env:integration-tests-env", - "function_arn:arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-metric-python", + "function_arn:arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-metric-python", "functionname:integration-tests-extension-XXXXXX-metric-python", "memorysize:1024", "region:eu-west-1", diff --git a/test/integration/serverless/snapshots/otlp-python b/test/integration/serverless/snapshots/otlp-python index 6166d2b740da70..61340c1dffe03a 100644 --- a/test/integration/serverless/snapshots/otlp-python +++ b/test/integration/serverless/snapshots/otlp-python @@ -14,18 +14,17 @@ "_dd.compute_stats": "1", "_dd.origin": "lambda", "_dd.p.dm": "-9", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "cloud.provider": "aws", "cloud.region": "eu-west-1", - "cloud_provider": "aws", "dd_extension_version": "123", "env": "integration-tests-env", "faas.instance": "null", "faas.name": "integration-tests-extension-XXXXXX-otlp-python", "faas.version": "$LATEST", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-otlp-python", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-otlp-python", "functionname": "integration-tests-extension-XXXXXX-otlp-python", "memorysize": "1024", "otel.library.name": "otlpPython", @@ -61,20 +60,19 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "cloud.provider": "aws", "cloud.region": "eu-west-1", - "cloud_provider": "aws", "dd_extension_version": "123", "env": "integration-tests-env", "faas.execution": "null", - "faas.id": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-otlp-python", + "faas.id": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-otlp-python", "faas.instance": "null", "faas.name": "integration-tests-extension-XXXXXX-otlp-python", "faas.version": "$LATEST", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-otlp-python", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-otlp-python", "functionname": "integration-tests-extension-XXXXXX-otlp-python", "memorysize": "1024", "otel.library.name": "opentelemetry.instrumentation.aws_lambda", @@ -139,18 +137,17 @@ "_dd.compute_stats": "1", "_dd.origin": "lambda", "_dd.p.dm": "-9", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "cloud.provider": "aws", "cloud.region": "eu-west-1", - "cloud_provider": "aws", "dd_extension_version": "123", "env": "integration-tests-env", "faas.instance": "null", "faas.name": "integration-tests-extension-XXXXXX-otlp-python", "faas.version": "$LATEST", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-otlp-python", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-otlp-python", "functionname": "integration-tests-extension-XXXXXX-otlp-python", "memorysize": "1024", "otel.library.name": "otlpPython", @@ -186,20 +183,19 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "cloud.provider": "aws", "cloud.region": "eu-west-1", - "cloud_provider": "aws", "dd_extension_version": "123", "env": "integration-tests-env", "faas.execution": "null", - "faas.id": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-otlp-python", + "faas.id": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-otlp-python", "faas.instance": "null", "faas.name": "integration-tests-extension-XXXXXX-otlp-python", "faas.version": "$LATEST", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-otlp-python", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-otlp-python", "functionname": "integration-tests-extension-XXXXXX-otlp-python", "memorysize": "1024", "otel.library.name": "opentelemetry.instrumentation.aws_lambda", diff --git a/test/integration/serverless/snapshots/trace-csharp b/test/integration/serverless/snapshots/trace-csharp index 48ca53ce211035..3754623cd20d42 100644 --- a/test/integration/serverless/snapshots/trace-csharp +++ b/test/integration/serverless/snapshots/trace-csharp @@ -13,16 +13,16 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "cold_start": "false", "dd_extension_version": "123", "env": "integration-tests-env", "function.request.body": "testing request payload", "function.response.body": "ok", "function.response.statusCode": "200", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-csharp", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-csharp", "functionname": "integration-tests-extension-XXXXXX-trace-csharp", "http.status_code": "200", "language": "dotnet", @@ -77,16 +77,16 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "cold_start": "true", "dd_extension_version": "123", "env": "integration-tests-env", "function.request.body": "", "function.response.body": "ok", "function.response.statusCode": "200", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-csharp", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-csharp", "functionname": "integration-tests-extension-XXXXXX-trace-csharp", "http.status_code": "200", "language": "dotnet", @@ -141,12 +141,12 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-csharp", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-csharp", "functionname": "integration-tests-extension-XXXXXX-trace-csharp", "memorysize": "1024", "region": "eu-west-1", @@ -199,13 +199,13 @@ "_dd.compute_stats": "1", "_dd.origin": "lambda", "_dd.p.dm": "-0", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "component": "WebRequest", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-csharp", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-csharp", "functionname": "integration-tests-extension-XXXXXX-trace-csharp", "http.method": "GET", "http.status_code": "200", @@ -268,13 +268,13 @@ "_dd.compute_stats": "1", "_dd.origin": "lambda", "_dd.p.dm": "-0", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "component": "WebRequest", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-csharp", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-csharp", "functionname": "integration-tests-extension-XXXXXX-trace-csharp", "http.method": "GET", "http.status_code": "200", diff --git a/test/integration/serverless/snapshots/trace-go b/test/integration/serverless/snapshots/trace-go index 8222d3fa568786..5471fa60ce1c2f 100644 --- a/test/integration/serverless/snapshots/trace-go +++ b/test/integration/serverless/snapshots/trace-go @@ -15,15 +15,15 @@ "_dd.origin": "lambda", "_dd.p.dm": "-1", "_dd.tracer_hostname": "", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "cold_start": "false", "datadog_lambda": "X.X.X", "dd_extension_version": "123", "dd_trace": "X.X.X", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-go", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-go", "function_version": "$LATEST", "functionname": "integration-tests-extension-XXXXXX-trace-go", "language": "go", @@ -66,13 +66,13 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "component": "net/http", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-go", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-go", "functionname": "integration-tests-extension-XXXXXX-trace-go", "http.method": "GET", "http.status_code": "200", @@ -112,12 +112,12 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-go", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-go", "functionname": "integration-tests-extension-XXXXXX-trace-go", "language": "go", "memorysize": "1024", @@ -175,15 +175,15 @@ "_dd.origin": "lambda", "_dd.p.dm": "-1", "_dd.tracer_hostname": "", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "cold_start": "true", "datadog_lambda": "X.X.X", "dd_extension_version": "123", "dd_trace": "X.X.X", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-go", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-go", "function_version": "$LATEST", "functionname": "integration-tests-extension-XXXXXX-trace-go", "language": "go", @@ -226,13 +226,13 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "component": "net/http", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-go", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-go", "functionname": "integration-tests-extension-XXXXXX-trace-go", "http.method": "GET", "http.status_code": "200", @@ -272,12 +272,12 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-go", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-go", "functionname": "integration-tests-extension-XXXXXX-trace-go", "language": "go", "memorysize": "1024", @@ -333,12 +333,12 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-go", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-go", "functionname": "integration-tests-extension-XXXXXX-trace-go", "memorysize": "1024", "region": "eu-west-1", diff --git a/test/integration/serverless/snapshots/trace-java b/test/integration/serverless/snapshots/trace-java index f2cd67b81025c0..6712aeee1e0bc7 100644 --- a/test/integration/serverless/snapshots/trace-java +++ b/test/integration/serverless/snapshots/trace-java @@ -13,15 +13,15 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "cold_start": "false", "dd_extension_version": "123", "env": "integration-tests-env", "function.request.body": "testing request payload", "function.response": "{}", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-java", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-java", "functionname": "integration-tests-extension-XXXXXX-trace-java", "memorysize": "1024", "region": "eu-west-1", @@ -74,15 +74,15 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "cold_start": "true", "dd_extension_version": "123", "env": "integration-tests-env", "function.request": "{}", "function.response": "{}", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-java", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-java", "functionname": "integration-tests-extension-XXXXXX-trace-java", "memorysize": "1024", "region": "eu-west-1", @@ -135,12 +135,12 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-java", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-java", "functionname": "integration-tests-extension-XXXXXX-trace-java", "memorysize": "1024", "region": "eu-west-1", diff --git a/test/integration/serverless/snapshots/trace-node b/test/integration/serverless/snapshots/trace-node index ee816ec6bde464..d1f5d12eb7a38c 100644 --- a/test/integration/serverless/snapshots/trace-node +++ b/test/integration/serverless/snapshots/trace-node @@ -15,15 +15,15 @@ "_dd.compute_stats": "1", "_dd.origin": "lambda", "_dd.p.dm": "-0", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "datadog_lambda": "X.X.X", "dd_extension_version": "123", "env": "integration-tests-env", "function.response.body": "ok", "function.response.statusCode": "200", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-node", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-node", "function_version": "$LATEST", "functionname": "integration-tests-extension-XXXXXX-trace-node", "language": "javascript", @@ -65,12 +65,12 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-node", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-node", "functionname": "integration-tests-extension-XXXXXX-trace-node", "language": "javascript", "memorysize": "1024", @@ -128,16 +128,16 @@ "_dd.compute_stats": "1", "_dd.origin": "lambda", "_dd.p.dm": "-0", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "datadog_lambda": "X.X.X", "dd_extension_version": "123", "env": "integration-tests-env", "function.request.body": "testing request payload", "function.response.body": "ok", "function.response.statusCode": "200", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-node", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-node", "function_version": "$LATEST", "functionname": "integration-tests-extension-XXXXXX-trace-node", "language": "javascript", @@ -179,12 +179,12 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-node", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-node", "functionname": "integration-tests-extension-XXXXXX-trace-node", "language": "javascript", "memorysize": "1024", @@ -240,12 +240,12 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-node", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-node", "functionname": "integration-tests-extension-XXXXXX-trace-node", "memorysize": "1024", "region": "eu-west-1", diff --git a/test/integration/serverless/snapshots/trace-python b/test/integration/serverless/snapshots/trace-python index 4fd1d5dcb574f1..a7b49bad0654e7 100644 --- a/test/integration/serverless/snapshots/trace-python +++ b/test/integration/serverless/snapshots/trace-python @@ -14,9 +14,9 @@ "_dd.compute_stats": "1", "_dd.origin": "lambda", "_dd.p.dm": "-0", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "cold_start": "false", "datadog_lambda": "X.X.X", "dd_extension_version": "123", @@ -24,7 +24,7 @@ "env": "integration-tests-env", "function.request.body": "testing request payload", "function.response.body": "ok", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-python", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-python", "function_version": "$LATEST", "functionname": "integration-tests-extension-XXXXXX-trace-python", "language": "python", @@ -68,12 +68,12 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-python", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-python", "functionname": "integration-tests-extension-XXXXXX-trace-python", "memorysize": "1024", "region": "eu-west-1", @@ -125,16 +125,16 @@ "_dd.compute_stats": "1", "_dd.origin": "lambda", "_dd.p.dm": "-0", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "cold_start": "true", "datadog_lambda": "X.X.X", "dd_extension_version": "123", "dd_trace": "X.X.X", "env": "integration-tests-env", "function.response.body": "ok", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-python", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-python", "function_version": "$LATEST", "functionname": "integration-tests-extension-XXXXXX-trace-python", "language": "python", @@ -178,12 +178,12 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-python", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-python", "functionname": "integration-tests-extension-XXXXXX-trace-python", "memorysize": "1024", "region": "eu-west-1", @@ -234,12 +234,12 @@ "meta": { "_dd.compute_stats": "1", "_dd.origin": "lambda", - "account_id": "425362996713", + "account_id": "############", "architecture": "XXX", - "aws_account": "425362996713", + "aws_account": "############", "dd_extension_version": "123", "env": "integration-tests-env", - "function_arn": "arn:aws:lambda:eu-west-1:425362996713:function:integration-tests-extension-XXXXXX-trace-python", + "function_arn": "arn:aws:lambda:eu-west-1:############:function:integration-tests-extension-XXXXXX-trace-python", "functionname": "integration-tests-extension-XXXXXX-trace-python", "memorysize": "1024", "region": "eu-west-1", diff --git a/test/integration/serverless/src/metric.js b/test/integration/serverless/src/metric.js index 11d93bac869d5e..8ebd07dfd3cf43 100644 --- a/test/integration/serverless/src/metric.js +++ b/test/integration/serverless/src/metric.js @@ -13,16 +13,6 @@ async function myHandler(event, context) { }; } -async function appSecHandler(event, context) { - return { - statusCode: 200, - body: 'ok', - headers: { - 'Content-Encoding': 'text/plain', - }, - }; -} - async function myTimeoutHandler(event, context) { if (shouldSendMetric) { sendDistributionMetric("serverless.lambda-extension.integration-test.count", 1); @@ -44,4 +34,3 @@ module.exports.enhancedMetricTest = datadog(myHandler); module.exports.noEnhancedMetricTest = datadog(myHandler); module.exports.timeoutMetricTest = datadog(myTimeoutHandler); module.exports.errorTest = datadog(myErrorHandler); -module.exports.appSecHandler = datadog(appSecHandler);