Skip to content

Question - Best Practice of Test "service" #2021

@bt-Knodel

Description

@bt-Knodel

The documentation for datadog ci says the following about setting service for tests:

service
Name of the service or library under test.
Environment variable: DD_SERVICE
Default: (test framework name)
Example: my-ui

Knowing that, what is the best practice for setting service? For example, if we host a site of "somesite.com", should tests against "somesite.com" be labeled with the service "somesite.com"? That's what I interpret the verbiage of "Name of the service or library under test." to be. It does further explain in the docs that "session" should be used to differentiate between tests against the same service, but one of the problems there is that flaky test management doesn't allow filtering on session.

Apologies if an issue was the incorrect way to get this clarification, but needed to ask.

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