-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 967 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Test metricsure
on: [push]
jobs:
metricsure:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get Pull Request number
uses: jwalton/gh-find-current-pr@v1
id: pr_number
with:
state: all
- name: Run metricsure
id: metricsure
uses: ./
with:
endpoint: 'https://prometheus.demo.do.prometheus.io'
metric: 'prometheus_remote_storage_exemplars_in_total'
label: 'instance'
values: 'demo.do.prometheus.io:9100,demo.do.prometheus.io:9090'
- name: Add output to pull request
if: success()
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ steps.pr_number.outputs.number }}
body: |
List of values that did not return any metrics from the endpoint:
**${{ steps.metricsure.outputs.invalide_values }}**