Skip to content

DD_SERVICE is overwritten with the application name #445

@yyamanoi1222

Description

@yyamanoi1222

Expected Behavior

if a value is set, DD_SERVICE is not overwritten.

Actual Behavior

DD_SERVICE is overwritten with the application name.

Steps to Reproduce the Problem

  1. serverless.yml
service: serverless-dd
frameworkVersion: "3"

plugins:
  - serverless-plugin-datadog
provider:
  name: aws
  runtime: nodejs18.x
  environment:
    DD_SERVICE: 'test-app'
functions:
  hello:
    handler: handler.hello
  1. Run sls deploy
  2. Expected value of DD_SERVICE is "test-app" but, actually "serverlerss-dd"

Specifications

  • Serverless Framework version: 3.36.0
  • Datadog Serverless Plugin version: 5.52.0
  • Lambda function runtime (Python 3.7, Node 10, etc.): nodejs18.x

Stacktrace

Paste here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions