Compare commits
1 Commits
277a49a666
...
46fc6a7e96
| Author | SHA1 | Date | |
|---|---|---|---|
|
46fc6a7e96
|
@@ -16,7 +16,7 @@ import (
|
|||||||
"github.com/urfave/cli/v3"
|
"github.com/urfave/cli/v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
const version = "0.1.13"
|
const version = "0.1.12"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
app := &cli.Command{
|
app := &cli.Command{
|
||||||
|
|||||||
6
flake.lock
generated
6
flake.lock
generated
@@ -2,11 +2,11 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770562336,
|
"lastModified": 1770197578,
|
||||||
"narHash": "sha256-ub1gpAONMFsT/GU2hV6ZWJjur8rJ6kKxdm9IlCT0j84=",
|
"narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d6c71932130818840fc8fe9509cf50be8c64634f",
|
"rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ func NewServer(cfg ServerConfig) *Server {
|
|||||||
registry := prometheus.NewRegistry()
|
registry := prometheus.NewRegistry()
|
||||||
collector := NewCollector(registry)
|
collector := NewCollector(registry)
|
||||||
|
|
||||||
scrapeCh := make(chan struct{})
|
scrapeCh := make(chan struct{}, 1)
|
||||||
|
|
||||||
metricsHandler := promhttp.HandlerFor(registry, promhttp.HandlerOpts{
|
metricsHandler := promhttp.HandlerFor(registry, promhttp.HandlerOpts{
|
||||||
Registry: registry,
|
Registry: registry,
|
||||||
|
|||||||
Reference in New Issue
Block a user