Skip to content

[Feature] support monitor for doris #334

@intelligentfu8

Description

@intelligentfu8

Search before asking

  • I had searched in the issues and found no similar issues.

Description

Background

Doris collects monitor metrics by itself, in prometheus format. you can fetch monitor data from Doris HTTP service.
The interface as follows:
Frontend: fe_host:fe_http_port/metrics
Backend: be_host:be_web_server_port/metrics
But, in kubernetes prometheus uses ServiceMonitor as a common mode to collect doris metrics. DorisCluster should add a switch to generate a ServiceMonitor resource to prometheus for collecting metrics in doris.

How to use

If you want promtheus deployed by prometheus-operator to pull metrics from doris, please add last config in DorisCluster resource:

spec:
  enableServiceMonitor: true

doris-operator will generate a ServiceMonitor in the namespace where DorisCluster deployed.

Use case

No response

Related issues

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

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