Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: adds badges and coverage generation #29

Merged
merged 4 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Run CodeQL"
name: codeql

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build & Publish docker images
name: docker

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run golangci-lint
name: golangci-lint


on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run release-please
name: release-please

on:
push:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test application
name: tests

on:
push:
Expand Down Expand Up @@ -27,4 +27,13 @@ jobs:
run: make build

- name: Test
run: make test
run: make test

- name: Update coverage report
if: github.event_name == 'push'
uses: ncruces/go-coverage-report@v0
with:
report: true
chart: true
amend: true
continue-on-error: true
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changedetection.io Prometheus Exporter
[![GitHub Release](https://img.shields.io/github/v/release/schaermu/changedetection.io-exporter)](https://github.com/schaermu/changedetection.io-exporter/releases/)
[![golangci-lint](https://github.com/schaermu/changedetection.io-exporter/actions/workflows/golangci-lint.yml/badge.svg)](https://github.com/schaermu/changedetection.io-exporter/actions/workflows/golangci-lint.yml) [![tests](https://github.com/schaermu/changedetection.io-exporter/actions/workflows/test.yml/badge.svg)](https://github.com/schaermu/changedetection.io-exporter/actions/workflows/test.yml) [![coverage](https://github.com/schaermu/changedetection.io-exporter/wiki/coverage.svg)](https://raw.githack.com/wiki/schaermu/changedetection.io-exporter/coverage.html)

This application exports the latest prices of watches configured inside a [changedetection.io](https://changedetection.io) instance as prometheus-compatible metrics. Additionally, the exporter exposes metrics regarding scraping statistics and certain system information in order to enable system monitoring as well.

- Exposes price metrics for eligible watches (must be of type @Offer).
Expand Down
Loading