OpenCensus Go 0.21.0
Important changes
Breaking changes
- Added description field to LabelKey in metricdata package. This is a breaking change. However, the effect should be minimal as it is only used by stackdriver exporter.
- Prometheus, zipkin and jaeger exporters are removed from go.opencensus.io and are moved contrib.go.opencensus.io. This is another breaking change ONLY if the version is not locked using either go.sum or Gopkg.lock
Features
- Added support for Cumulative and Derived Cumulative metrics. It is similar to Gauge and Derived Gauge, with key difference that the value of a Cumulative can only go up.
- Added constant labels for Gauges and Cumulatives.
- Added example for Gauge and Derived Gauge.
- Added Log Exporter to export metrics and trace spans to a log file.
Complete list of changes since release v0.20.0
df6e200 Run go mod tidy before merging dev to master.
9328d44 Remove deprecated exemplar package. (#1124)
beff310 Exemplar: Record with sampled SpanContext in gRPC plugin. (#1127)
648e9a0 fix buckets in example/quickstart (#1132)
d00fa0c Added payload size to http server integration (#1129)
6161d2e Add support for Tag metadata (#1125)
ed3a3f0 Move exporters out from core. (#1118)
c31d268 add constant labels to gauges and cumulative metrics (#1122)
3e65bcb update example to use log exporter. (#1128)
295a4b8 Add log exporter. (#1126)
0ac3701 Exemplar: Add new record APIs that take exemplar attachments and SpanContext key. (#1123)
18733e4 remove Set method for cumulatives. (#1120)
9a306f3 fix typo in feature request template. (#1119)
cc78dac update issue template. (#1117)
4651f24 Add description field to LabelKey (#1114)
c82de26 add space between error and %v in gauge example. (#1116)
6bebf56 Fix comment received for #1110 after it was merged. (#1113)
a7c47d3 Add derived gauge example. (#1110)
1c036df Fix TOC and some typos. (#1111)
a209e58 Remove extraneous err check. (#1109)
5d1b8af Add gauges example. (#1107)
aca3e8a Add support for metrics in prometheus exporter (#1105)
ef4afeb fix race condition in reading record and updating record. (#1104)
bf1b28d replace missing tag with empty values during metric export. (#1102)
df5e771 Add support for cumulative. (#1090)
01ba744 Refactor gauge and registry to accommodate cumulative. (#1089)
75c0cca run go mod tidy after fixing dependency on google.golang.org/api (#1097)
a901c1e fix version script to ignore pre-release tags. (#1098)
8930459 change google.golang.org/api dependency to v0.3.1 (#1096)
eec2a5d replace +alpha with -alpha. (#1095)
60399d2 Fix version dependencies with google.golang.org (#1094)
d0e431e Bump up the version to 0.21.0 (#1088)