Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

feat(webserver): add Prometheus#189

Open
genofire wants to merge 2 commits into
mainfrom
prom-exporter
Open

feat(webserver): add Prometheus#189
genofire wants to merge 2 commits into
mainfrom
prom-exporter

Conversation

@genofire
Copy link
Copy Markdown
Member

@genofire genofire commented Feb 17, 2021

to run yanic with prometheus

  • [webserver.prometheus] <- the exporter

based on:

@genofire genofire changed the title Prom exporter [TASK] add Prometheus Feb 17, 2021
@genofire genofire force-pushed the prom-exporter branch 2 times, most recently from b6c9d3c to f8e451c Compare March 30, 2021 09:26
@corny corny force-pushed the main branch 7 times, most recently from 7352bd1 to ff42378 Compare March 28, 2022 02:21
@genofire genofire force-pushed the prom-exporter branch 5 times, most recently from a6d08a5 to 7f06b5f Compare April 14, 2022 06:17
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 14, 2022

Codecov Report

Merging #189 (d7402fb) into main (7da4dc7) will decrease coverage by 1.91%.
The diff coverage is 53.49%.

❗ Current head d7402fb differs from pull request most recent head d506297. Consider uploading reports for the commit d506297 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #189      +/-   ##
==========================================
- Coverage   73.10%   71.18%   -1.92%     
==========================================
  Files          55       59       +4     
  Lines        2406     2683     +277     
==========================================
+ Hits         1759     1910     +151     
- Misses        594      717     +123     
- Partials       53       56       +3     
Impacted Files Coverage Δ
cmd/serve.go 6.00% <0.00%> (-1.15%) ⬇️
webserver/prometheus/config.go 0.00% <0.00%> (ø)
webserver/prometheus/exporter.go 0.00% <0.00%> (ø)
webserver/prometheus/transform.go 90.90% <90.90%> (ø)
webserver/prometheus/metric.go 100.00% <100.00%> (ø)
webserver/webserver.go 100.00% <100.00%> (ø)
database/all/internal.go 91.66% <0.00%> (-8.34%) ⬇️
database/all/connection.go 47.61% <0.00%> (-2.39%) ⬇️
output/meshviewer-ffrgb/meshviewer.go 84.84% <0.00%> (+4.04%) ⬆️

@genofire genofire force-pushed the prom-exporter branch 2 times, most recently from c75c1ca to 431773c Compare April 14, 2022 12:17
@genofire genofire force-pushed the prom-exporter branch 3 times, most recently from c33f96e to d082c58 Compare June 6, 2022 15:07
@genofire genofire force-pushed the prom-exporter branch 3 times, most recently from beb5927 to 3bb9800 Compare July 10, 2022 14:44
@genofire genofire force-pushed the prom-exporter branch 5 times, most recently from d568ca7 to bbd0a85 Compare July 14, 2022 12:33
@genofire genofire changed the title [TASK] add Prometheus feat(exporter): add Prometheus Sep 17, 2023
@genofire genofire changed the title feat(exporter): add Prometheus feat(webserver): add Prometheus Sep 17, 2023
@genofire genofire force-pushed the main branch 2 times, most recently from 3d1cd5c to 632e550 Compare September 18, 2023 05:55
@genofire genofire force-pushed the prom-exporter branch 2 times, most recently from 29a4aa2 to 15900b4 Compare July 4, 2024 23:48
@genofire genofire requested a review from corny July 4, 2024 23:48
@genofire genofire force-pushed the prom-exporter branch 7 times, most recently from 714a856 to 76868ff Compare July 5, 2024 14:32
@genofire genofire force-pushed the main branch 4 times, most recently from 19176cf to ec6bd31 Compare July 18, 2024 12:48
Comment thread webserver/prometheus.go
promDescNodeClientsTotal = prometheus.NewDesc("yanic_node_clients_total", "", nodeLabels, prometheus.Labels{})

// Memory - compelte
promDescNodeMemBuffers = prometheus.NewDesc("yanic_node_memmory_buffers", "", nodeLabels, prometheus.Labels{})
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants