Daniel Swarbrick

Results 298 comments of Daniel Swarbrick

> should this be merged, or should we look at removing apt_info.py in favor of the apt-exporter? If we remove a script simply because a dedicated exporter exists, then we...

Did you read the docs? > NewAPI returns a new API for the client. > > It is safe to use the returned API from multiple goroutines. cf. https://pkg.go.dev/github.com/prometheus/[email protected]/api/prometheus/v1#NewAPI

Historically, a HA Prometheus setup involved two or more identically configured instances, scraping the same targets, evaluating the same rules, and sending alerts to a HA Alertmanager cluster. In this...

@ntavares Please rebase on master and resolve any merge conflicts.

Generally we leave such things to the distros which package the contents of this repo, since it usually involves distro-specific paths and users. For example, the Debian (and Ubuntu) package...

I think that if we're going to include such things in this repo, they belong in a "contrib" directory, rather than the root directory. You'll also need to sign the...

The smartmon.py script has recently undergone non-trivial refactoring to use the official Prometheus client_python library, and this PR would need to be updated accordingly. I still feel that the best...

Closing due to inactivity and unresolved merge conflicts.

The overflows in backup_test.go and snapshot_test.go are fairly self-explanatory, as the `Backup` and `Snapshot` structs use an untyped `int` for the `Size` member. This should be changed to an `int64`,...

Are you aware of https://github.com/bwesterb/go-xentop, which includes a sample Prometheus exporter?