mirror of
https://github.com/prometheus/docs.git
synced 2026-02-05 06:45:01 +01:00
OM1.1: create OpenMetrics 1.1 draft and enable CI check of ABNF on it (#2726)
* copy om1.0 to om1.1 and hide Also update the front matter a little bit. * Enable running ABNF check on OM1.1 * enable checking the full example and per metric type Sync checks with OM2.0. * fix extra space before value bug in example Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
committed by
GitHub
parent
a8475b1a0d
commit
60c3cf0911
3
.github/workflows/openmetrics.yml
vendored
3
.github/workflows/openmetrics.yml
vendored
@@ -18,6 +18,9 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -r openmetrics-spec-tests/check_openmetrics_spec_requirements.txt
|
pip install -r openmetrics-spec-tests/check_openmetrics_spec_requirements.txt
|
||||||
|
- name: Check ABNF for OpenMetrics 1.1
|
||||||
|
run: |
|
||||||
|
python3 openmetrics-spec-tests/check_openmetrics_spec.py docs/specs/om/open_metrics_spec_1_1.md
|
||||||
- name: Check ABNF for OpenMetrics 2.0
|
- name: Check ABNF for OpenMetrics 2.0
|
||||||
run: |
|
run: |
|
||||||
python3 openmetrics-spec-tests/check_openmetrics_spec.py docs/specs/om/open_metrics_spec_2_0.md
|
python3 openmetrics-spec-tests/check_openmetrics_spec.py docs/specs/om/open_metrics_spec_2_0.md
|
||||||
|
|||||||
1186
docs/specs/om/open_metrics_spec_1_1.md
Normal file
1186
docs/specs/om/open_metrics_spec_1_1.md
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: "OpenMetrics 2.0"
|
title: "OpenMetrics 2.0"
|
||||||
nav_title: "2.0"
|
nav_title: "2.0"
|
||||||
sort_rank: 2
|
sort_rank: 3
|
||||||
|
|
||||||
hide_in_nav: true
|
hide_in_nav: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user