Skip to content

[Feat] Make it configurable to expose metrics endpoint #1411

@yottahmd

Description

@yottahmd

We would like to introduce a global configuration option to control whether the metrics API endpoint is publicly exposed.
To minimize unnecessary exposure, this endpoint will be disabled by default, and users can enable it as needed.

Config example:

server:
  metrics: public # default: private

Environment env: DAGU_SERVER_METRICS=public

Any suggestions or concerns are very welcome.
cc: @jeremydelattre59 @ghansham


Suggested by @kriyanshii

server:
  metricsType: 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions