Complete the code to start Prometheus server using Docker.
docker run -d -p 9090:9090 [1] prometheus
The --name option assigns a name to the container, which is useful for managing it later.
Complete the command to check the status of a systemd service named 'node_exporter'.
systemctl [1] node_exporterThe status command shows the current status of the service.
Fix the error in the Prometheus scrape config to monitor a target on port 9100.
scrape_configs: - job_name: 'node' static_configs: - targets: ['localhost[1]9100']
The port number must be separated from the hostname by a colon :.
Fill both blanks to create a Grafana dashboard query filtering CPU usage above 80%.
cpu_usage > [1] and instance = '[2]'
The query filters CPU usage greater than 80 and for the instance named 'instance1'.
Fill all three blanks to define an alert rule for high memory usage in Prometheus.
alert: HighMemoryUsage expr: memory_usage_bytes [1] [2] for: [3]m
The alert triggers when memory usage is greater than 8 billion bytes for 5 minutes.