# SPDX-FileCopyrightText: 2025 Deutsche Telekom AG (opensource@telekom.de)
#
# SPDX-License-Identifier: Apache-2.0

from pydantic import Field

from wurzel.step.settings import StepSettings


class PrometheusSettings(StepSettings):
    """Used in PrometheusExecutor"""

    PROMETHEUS_GATEWAY: str = Field(
        "localhost:9091", description="host:port of pushgateway"
    )
    PROMETHEUS_JOB: str = Field(
        "default-job-name", description="jobname for the prometheus counter"
    )
    PROMETHEUS_DISABLE_CREATED_METRIC: bool = Field(
        True, description="disable *_created metrics"
    )
