From 292da58dce784483b49b032643c9c5db54d1d2cd Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 6 Dec 2023 20:52:22 +0100 Subject: [PATCH 1/2] Add promformat --- data/tools/promformat.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 data/tools/promformat.yml diff --git a/data/tools/promformat.yml b/data/tools/promformat.yml new file mode 100644 index 0000000000..a716b82ea8 --- /dev/null +++ b/data/tools/promformat.yml @@ -0,0 +1,12 @@ +name: promformat +categories: + - formatter +tags: + - promql +license: GPL-3.0 +types: + - cli +source: "https://github.com/facetoe/promformat" +homepage: "https://github.com/facetoe/promformat" +description: >- + Promformat is a PromQL formatter written in Python. From 66fede9018490d8b59bb455c316f82e1bc46891d Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 6 Dec 2023 20:54:27 +0100 Subject: [PATCH 2/2] Add promformat --- data/tags.yml | 3 +++ data/tools/promformat.yml | 2 +- data/tools/promval.yml | 13 +++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 data/tools/promval.yml diff --git a/data/tags.yml b/data/tags.yml index 0a9783786e..6c96673d7a 100644 --- a/data/tags.yml +++ b/data/tags.yml @@ -238,6 +238,9 @@ - name: PowerShell value: powershell type: language +- name: Prometheus + value: prometheus + type: other - name: Protocol Buffers value: protobuf type: other diff --git a/data/tools/promformat.yml b/data/tools/promformat.yml index a716b82ea8..6efc67bfcd 100644 --- a/data/tools/promformat.yml +++ b/data/tools/promformat.yml @@ -2,7 +2,7 @@ name: promformat categories: - formatter tags: - - promql + - prometheus license: GPL-3.0 types: - cli diff --git a/data/tools/promval.yml b/data/tools/promval.yml new file mode 100644 index 0000000000..6166a45f82 --- /dev/null +++ b/data/tools/promval.yml @@ -0,0 +1,13 @@ +name: promval +categories: + - linter +tags: + - prometheus +license: MIT +types: + - cli +source: "https://github.com/facetoe/promval" +homepage: "https://github.com/facetoe/promval" +description: >- + PromQL validator written in Python. + It can be used to validate that PromQL expressions are written as expected.