From d63cab555c235ab80a6f01ed91fe391c912db842 Mon Sep 17 00:00:00 2001 From: Paul Lorenz Date: Tue, 23 Feb 2021 15:00:12 -0500 Subject: [PATCH] Update deps and changelog --- CHANGELOG.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ go.mod | 2 +- go.sum | 3 ++- 3 files changed, 52 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71bea3158..78651ccab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,52 @@ +# Release 0.19.3 + +## What's New + +* Metric events formatting has changed + +## Metric Events Changes + +Each now gets its own event. Here are two example events: + +``` +{ + "metric": "xgress.tx_write_time", + "metrics": { + "xgress.tx_write_time.count": 0, + "xgress.tx_write_time.m1_rate": 0, + "xgress.tx_write_time.mean": 0, + "xgress.tx_write_time.p99": 0 + }, + "namespace": "metrics", + "source_event_id": "62c31ab9-e0ed-48f5-9907-2d2e8c76f393", + "source_id": "pTF3hzUQI", + "timestamp": "2021-02-23T19:33:39.017329033Z" +} + +{ + "metric": "link.rx.msgsize", + "metrics": { + "link.rx.msgsize.count": 3, + "link.rx.msgsize.mean": 0, + "link.rx.msgsize.p99": 0 + }, + "namespace": "metrics", + "source_entity_id": "8VEJ", + "source_event_id": "62c31ab9-e0ed-48f5-9907-2d2e8c76f393", + "source_id": "pTF3hzUQI", + "timestamp": "2021-02-23T19:33:39.017329033Z" +} +``` + +Changes of note: + +1. The metric name is now listed +1. There's a new `source_event_id` which can be used to link together all the metrics that were + reported at a given time +1. The timestamp format has been changed to match the other event times. Format is: RFC3339Nano +1. Metrics which formerlly had an id in them, such as link and control channel metrics now have the + id extracted. The id is stored in the `source_entity_id` field. + # Release 0.19.2 ## Bug fixes diff --git a/go.mod b/go.mod index 140a87822..7e2e9f38b 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,7 @@ require ( github.com/keybase/go-ps v0.0.0-20190827175125-91aafc93ba19 github.com/michaelquigley/pfxlog v0.3.6 github.com/openziti/edge v0.19.3 - github.com/openziti/fabric v0.16.9 + github.com/openziti/fabric v0.16.10 github.com/openziti/foundation v0.15.17 github.com/openziti/sdk-golang v0.15.15 github.com/pborman/uuid v1.2.0 diff --git a/go.sum b/go.sum index ad200d013..49f09ce0d 100644 --- a/go.sum +++ b/go.sum @@ -607,8 +607,9 @@ github.com/openzipkin/zipkin-go v0.1.1/go.mod h1:NtoC/o8u3JlF1lSlyPNswIbeQH9bJTm github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= github.com/openziti/edge v0.19.3 h1:HAmwyiYz2swXvhdqS8p87YlDp60y/aGpdRAze18LZNk= github.com/openziti/edge v0.19.3/go.mod h1:k4YQ3tHl/+DGpCDHUrc4AR7mtmTBrWebXwbLe93eLrk= -github.com/openziti/fabric v0.16.9 h1:JUsSe1rDXOqQynnpKYWNhet4fUAikFUi1EGzrbbT7+A= github.com/openziti/fabric v0.16.9/go.mod h1:3q2TUtoLc397j9J1J0moZybGrXfm3aGsTvxyE3+7xhs= +github.com/openziti/fabric v0.16.10 h1:AFcEmkvOEZ919rnjRxO8bJyYpjQDVy3aYNvAaMiEkF4= +github.com/openziti/fabric v0.16.10/go.mod h1:3q2TUtoLc397j9J1J0moZybGrXfm3aGsTvxyE3+7xhs= github.com/openziti/foundation v0.15.17 h1:bDD7doYIJ3CJNYWwMe9N3NxlhBfSMzuTiHV6lVFZ5X4= github.com/openziti/foundation v0.15.17/go.mod h1:QBxVS96jSHNyH6zp+YYAgCC/N+Jg5fqfq1menR5U6lo= github.com/openziti/sdk-golang v0.15.15 h1:+vGr0ib1QREQ1YwxuRM1xcpLD3WJGMpAYwsobMHbbGM=