Registry / observability / plugin-prometheus

plugin-prometheus

JSON →
library0.1.0gogounverified

Package prometheus provides a Prometheus metrics plugin for GORM.

go get gorm.io/plugin/prometheus
INSTALL
IMPORT
SIG · PLUGIN-PROMETHEUS
P
plugin-prometheus
observabilitygov0.1.0
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.

prometheus
gorm.io/plugin/prometheus

Register Prometheus metrics plugin with GORM

package main import ( "gorm.io/gorm" "gorm.io/plugin/prometheus" ) func main() { db, _ := gorm.Open(...) db.Use(prometheus.New(prometheus.Config{})) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
2
Amazon
1
Resources
plugin-prometheus — go get plugin-prometheus · libregistry