Welcome to the Linux Foundation Forum!

Lab 19.1: Error in yaml definition

Hello,
The targets in the cluster definition does not have a closing quote (') after the "8080". The right definition is:

global:
  scrape_interval: 5s
  evaluation_interval: 5s
  external_labels:
    cluster: <cluster-name>

rule_files:
  - recording_rules.yml

scrape_configs:
  - job_name: 'demo'
    static_configs:
      - targets:
        - 'd1:8080'
        - 'd2:8080'
        - 'd3:8080'

Comments

  • arianehamm
    arianehamm Posts: 62

    Hi @froman ,

    Thank you for flagging this typo. The course has been updated to reflect the changes.

    Kind Regards,
    Ariane
    Linux Foundation Education

Categories

Upcoming Training