Skip to content

feat: add netbox device support #21

feat: add netbox device support

feat: add netbox device support #21

Workflow file for this run

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 }}**