set deployment monitoring
Syntax
set deployment monitoring sink id sink-options
set deployment monitoring source id source-options
Hierarchy Level
[edit]
Description
Configure the monitoring in Routing Director to collect metrics from different types
of sources (host metrics, kube-state-metric, syslogs and so on) and
forward the collected data to designated sinks, or destinations
(Prometheus, VictoriaMetrics, and so on).
Use the request deployment deploy monitoring command to deploy the
monitoring configuration. For more information, see Post Installation
Tasks.
Options
|
sink id elasticsearch elasticsearch-options |
For the specified sink ID, write the log messages to elasticsearch. The sink ID must be in the [a-z][a-z0-9_-]* format.
|
|
sink id prometheus_remote_write prometheus-options |
For the specified sink ID, write metric data to the endpoint with Prometheus remote write protocol. The sink ID must be in the [a-z][a-z0-9_-]* format.
|
|
sink id socket socket-options |
For the specified sink ID, deliver logs to a remote socket endpoint. The sink ID must be in the [a-z][a-z0-9_-]* format.
|
|
sink id loki loki-options |
For the specified sink ID, write log messages to Loki. The sink ID must be in the [a-z][a-z0-9_-]* format.
|
|
sink id inputs value |
For the specified sink ID, enter source IDs to send to the sink. Enter a single value or multiple [values].The sink ID must be in the [a-z][a-z0-9_-]* format. |
|
source id cluster kafka options |
For the specified source ID, monitor cluster-level metric source and subscribe to Kafka topics for messages.
|
|
source id cluster prometheus_scrape options |
For the specified source ID, monitor cluster-level metric source and collect metrics through sources which writes prometheus-format data.
|
|
source id cluster kubernetes_container_metrics |
For the specified source ID, collect fundamental Kubernetes container resource metrics like CPU, memory, and network usage. |
|
source id cluster kubernetes_logs kubernetes-options |
For the specified source ID, collect pod logs from Kubernetes nodes, automatically enriching data with metadata through the Kubernetes API.
|
|
source id node host_metrics scrape_interval_secs interval |
For the specified source ID, monitor and collect node-level metric data. Enter scrape interval in seconds. |
|
source id node docker_logs container-options |
For the specified source ID, collect logs from Docker.
|
|
source id node syslog |
For the specified source ID, collect syslog from every single Linux host in the Juniper Routing Director deployment cluster. |
|
source id node cmgd_log |
For the specified source ID, collect logs from all deployment shell CLIs in the Juniper Routing Director deployment cluster. |
Required Privilege Level
configure
Release Information
Statement introduced in Juniper Paragon Automation Release 2.0.0.