Skip to content

Releases: m-lab/disco

Fixes string conversion bug + collect broadcast metrics

22 Feb 23:29
3ce8960
Compare
Choose a tag to compare

v0.1.11...v0.1.13

Somehow this repo got the tag v0.1.12, but not part of a release, hence the jump from v0.1.11 to v0.1.13.

  • Collects broadcast packet metrics (#22)
  • Renames metrics.yaml to metrics.yaml.sample (#23)
  • Fixes an interface type conversion bug (#24)

Fix typo in metric name for ifHCInOctets

04 Jan 14:52
76f97c2
Compare
Choose a tag to compare
Fixes a typo of metric name for ifHCInOctets (#21)

* Fixes a typo of metric name for ifHCInOctets

Resolves issue #20.

* Adds Go module support to repository

The import path for the gosnmp library needed to change, as the old one
was deprecated and no longer in use. This commit also updates the
Dockerfile to use Go 1.16 and alpine 3.15.

* Changes necessary to support Go modules

I meant for this commit to be part of the previous commit (@1def767).
The previous commit introduced go.mod and go.sum, and this commit
includes some necessary changes to support that. Namely, the gosnmp
library moved to a new repository. I also updated the Docker image to Go
1.16 and alpine 3.15.

* Fixes a Go error

https://github.com/golang/go/issues/32479

* Uses fmt.Sprintf() instead of rune() for strconv

Sets ifAlias for uplink to actual ifAlias value on interface

23 Sep 19:37
8c029ff
Compare
Choose a tag to compare
v0.1.10

Sets ifAlias for uplink to actual ifAlias value on interface. (#17)

Adds label "ifAlias" to all exported SNMP metrics

21 Sep 19:10
f538650
Compare
Choose a tag to compare
Adds ifAlias label to all exported metrics. (#16)

* Adds ifAlias label to all exported metrics.

Adds new sample field "counter"

28 Aug 20:39
3286a68
Compare
Choose a tag to compare
v0.1.8

Records raw OID counter in each sample. (#15)

Calculates filename based on actual timestamps inside file

07 Aug 20:03
993cb69
Compare
Choose a tag to compare
Expect a string from gosnmp PDUs of type OctetString (#12)

* gosnmp now returns a string for PDU type OctetString

* Updates unit tests to use string type for OctetString PDU types.

Fixes evaluation of PDU type OctetString from gosnmp

05 Aug 22:57
993cb69
Compare
Choose a tag to compare

Weekly release

04 Aug 21:44
223d20f
Compare
Choose a tag to compare

The primary feature of this release is that output filenames now properly reflect the last collection timestamp contained in the file.

Catches SIGTERM and writes all data before exiting

23 Jun 22:02
5c291b6
Compare
Choose a tag to compare
Catches SIGTERM and writes all data to disk before exiting. (#8)

* Catches SIGTERM and writes all data to disk before exiting.

* Defers ticker.Stop()s at invocation time, and returns immediately after Write() on a SIGTERM.

* Adds back mainCancel() to the sigterm case statement.

Calculates target when -target flag is missing.

23 Jun 20:09
1873bc4
Compare
Choose a tag to compare
v0.1.3

Attempts to construct a target switch name based on the node name in …