Registry / observability / leoluk-perflib-exporter

leoluk-perflib-exporter

JSON →
library0.2.1gogounverified

A Prometheus exporter for Windows Performance Counters using the perflib library.

go get github.com/leoluk/perflib_exporter
INSTALL
IMPORT
SIG · LEOLUK-PERFLIB-EXP
L
leoluk-perflib-exporter
observabilitygov0.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

perflib_exporter
github.com/leoluk/perflib_exporter

Start a Prometheus metrics endpoint for Windows performance counters.

package main import ( "log" "net/http" "github.com/leoluk/perflib_exporter" ) func main() { http.Handle("/metrics", perflib_exporter.Handler()) log.Fatal(http.ListenAndServe(":8080", nil)) }
Debug
Known issues
gotchaOnly works on Windows; will not compile on other platforms.
fix
Use build tags or conditional compilation to restrict to Windows.
affects: *
Upgrade
Version history
0.2.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
2
Resources
leoluk-perflib-exporter — go get leoluk-perflib-exporter · libregistry