Dontopedia

Example Prometheus scrape configuration

From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-09.)

Example Prometheus scrape configuration has 20 facts recorded in Dontopedia across 5 references, with 2 live disagreements.

20 facts·14 predicates·5 sources·2 in dispute

Mostly:rdf:type(5), contains(2), job name(1)

Maturity scale raw canonical shape-checked rule-derived certified

Inbound mentions (5)

Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.

causedByCaused by(1)

containsContains(1)

definesDefines(1)

followsFollows(1)

nestedWithinNested Within(1)

Other facts (19)

The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.

19 facts
PredicateValueRef
Rdf:typeScrape Config[1]
Rdf:typeConfiguration[2]
Rdf:typeConfiguration[3]
Rdf:typeYaml Configuration[4]
Rdf:typeConfiguration Step[5]
ContainsStatic Config[2]
ContainsScrape Configs[3]
Job Nameprometheus[1]
Metrics Path/metrics[1]
Scrape Interval15s[1]
Has Job Namegitlab[2]
Uses Static ConfigStatic Config[2]
Part ofYaml Config Block[2]
Defined inYaml Config Block[2]
Has Indentation Level2[2]
Is Example ofExample Configurations[3]
Has Keyscrape_configs[4]
Contains JobKafka Job[4]
FollowsLogstash Metrics Export[5]

Timeline

Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.

typebeam/5e101129-f6e3-45c7-b476-cfd6e00d3e69
ex:ScrapeConfig
jobNamebeam/5e101129-f6e3-45c7-b476-cfd6e00d3e69
prometheus
metricsPathbeam/5e101129-f6e3-45c7-b476-cfd6e00d3e69
/metrics
scrapeIntervalbeam/5e101129-f6e3-45c7-b476-cfd6e00d3e69
15s
typebeam/eb280934-1f74-4ad3-8787-ad2dc9b63b7c
ex:Configuration
hasJobNamebeam/eb280934-1f74-4ad3-8787-ad2dc9b63b7c
gitlab
usesStaticConfigbeam/eb280934-1f74-4ad3-8787-ad2dc9b63b7c
ex:static-config
partOfbeam/eb280934-1f74-4ad3-8787-ad2dc9b63b7c
ex:yaml-config-block
definedInbeam/eb280934-1f74-4ad3-8787-ad2dc9b63b7c
ex:yaml-config-block
hasIndentationLevelbeam/eb280934-1f74-4ad3-8787-ad2dc9b63b7c
2
containsbeam/eb280934-1f74-4ad3-8787-ad2dc9b63b7c
ex:static-config
typebeam/332daf51-436a-42b5-a617-b0b0ee450e49
ex:Configuration
labelbeam/332daf51-436a-42b5-a617-b0b0ee450e49
Example Prometheus scrape configuration
containsbeam/332daf51-436a-42b5-a617-b0b0ee450e49
ex:scrape-configs
isExampleOfbeam/332daf51-436a-42b5-a617-b0b0ee450e49
ex:example-configurations
typebeam/dff01560-b446-4839-a8e8-0305d42e81c7
ex:YAMLConfiguration
hasKeybeam/dff01560-b446-4839-a8e8-0305d42e81c7
scrape_configs
containsJobbeam/dff01560-b446-4839-a8e8-0305d42e81c7
ex:kafka-job
typebeam/0de825c5-bf11-4747-9d28-e53c41cd5d1a
ex:ConfigurationStep
followsbeam/0de825c5-bf11-4747-9d28-e53c41cd5d1a
ex:logstash-metrics-export

References (5)

5 references
  1. ctx:claims/beam/5e101129-f6e3-45c7-b476-cfd6e00d3e69
    • full textbeam-chunk
      text/plain1 KBdoc:beam/5e101129-f6e3-45c7-b476-cfd6e00d3e69
      Show excerpt
      for: 1m labels: severity: warning annotations: summary: "Unresolved risk detected for {{ $labels.issue_type }}" description: "An unresolved risk of type {{ $labels.issue_type }} has been
  2. ctx:claims/beam/eb280934-1f74-4ad3-8787-ad2dc9b63b7c
    • full textbeam-chunk
      text/plain1 KBdoc:beam/eb280934-1f74-4ad3-8787-ad2dc9b63b7c
      Show excerpt
      To set up Prometheus to scrape metrics from GitLab, you can use the following configuration: ```yaml scrape_configs: - job_name: 'gitlab' static_configs: - targets: ['gitlab.example.com:8080'] ``` ### Example Grafana Configura
  3. ctx:claims/beam/332daf51-436a-42b5-a617-b0b0ee450e49
  4. ctx:claims/beam/dff01560-b446-4839-a8e8-0305d42e81c7
    • full textbeam-chunk
      text/plain1 KBdoc:beam/dff01560-b446-4839-a8e8-0305d42e81c7
      Show excerpt
      type: "$1" name: "$2" ``` #### Step 2: Configure Prometheus Add the following to your Prometheus configuration: ```yaml scrape_configs: - job_name: 'kafka' static_configs: - targets: ['broker1:9092', 'broker2:9092'
  5. ctx:claims/beam/0de825c5-bf11-4747-9d28-e53c41cd5d1a
    • full textbeam-chunk
      text/plain1 KBdoc:beam/0de825c5-bf11-4747-9d28-e53c41cd5d1a
      Show excerpt
      scrape_configs: - job_name: 'logstash' static_configs: - targets: ['localhost:9126'] ``` 2. **Restart Prometheus**: Restart the Prometheus service to apply the new configuration. ```sh systemctl restart

See also

Keep researching

Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.