Skip to content

router: make service value in logs configurable via env var #2277

@brokenpip3

Description

@brokenpip3

Component(s)

router

Is your feature request related to a problem? Please describe.

Currently the service field in router logs is hardcoded, this limits flexibility when deploying across multiple environments or services, especially via helm chart where it should be the release name or declarative selected by the end user

Describe the solution you'd like

It will be nice to make this value configurable through an env var, while keeping the current hardcoded @wundergraph/router as the default value

Describe alternatives you've considered

Since it's hardcoded I don't think we have alternatives

Additional context

An initial draft PR: #2276 while waiting for maintainers approval as per contributing guidelines

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions