DumbMonit

集成指标和日志

用 DumbMonit 监控 OpenTelemetry source

Receives OpenTelemetry metrics (OTLP over HTTP) from a collector or an instrumented application: gauges, counters and histograms are stored and can be graphed and alerted on.

文档官方网站:OpenTelemetry

产品说明为英文,与产品内一致。页面标签使用您的语言。

DumbMonit 监控的内容

Receives metrics pushed with OTLP over HTTP, from an OpenTelemetry Collector or directly from an instrumented application. Gauges, sums and histograms are stored as series, graphed in the explorer and usable in threshold rules. Logs sent to the same endpoint are stored in VictoriaLogs when it is enabled. DumbMonit does not poll anything here: the data comes in.

典型用途. OTLP/HTTP receiver: metrics from an OpenTelemetry Collector or an application, logs relayed to VictoriaLogs

示例

  • OpenTelemetry Collector
  • Instrumented application
  • Docker host with an OTel agent

连接方式

无需账户。

设置步骤: Send OTLP/HTTP to DumbMonit
  1. In Settings, API & assistants, create a token with the write scope. Restrict it to the network of your collector.

  2. Save this source, then note its number: it ends the address of its page, /devices/<number>.

  3. In the otlphttp exporter of your collector, set the endpoint to this server followed by /api/otlp, then add two headers: Authorization with the token, and X-DumbMonit-Target with the number of this source.

    https://monit.example.com/api/otlp
  4. Make sure counters and histograms use cumulative temporality (the default); for delta, add the deltatocumulative processor.

  5. Optional: logs sent to /api/otlp/v1/logs are stored in VictoriaLogs when it is enabled in Settings, Storage.

注意. OTLP over gRPC is not supported: configure the otlphttp exporter, not otlp. The token can write to the whole API: keep it in the collector's secrets.