Opencensus Go Versions Save

A stats collection and distributed tracing framework

v0.24.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/census-instrumentation/opencensus-go/compare/v0.23.0...v0.24.0

v0.23.0

3 years ago

No breaking changes

Additions

  • OpenTelemetry interop
    • allow users to replace the trace SDK (#1238)
    • expose underlying span implementation (#1240)
  • Expose ability to flush interval reader (#1248)
  • Add GC stats to runmetrics plugin (#1207)
  • Dependency upgrades (#1243)

Fixes

  • Performance improvements (#1242)
  • Fix memory leak in span store (#1246)

Miscellaneous

  • Migrate from Travis CI to Github Actions (#1237, #1244)

v0.22.5

3 years ago

Changes Since 0.22.4

8e242ed Comment on GRPC latency measure reuse (#1217) af30f77 Record a Start Time Per Time Series within a View (#1220) 3456e1d Made public traceparent/tracestate marshal/unmarshal (#1218) d7677d6 Include const labels in baseMetric.upsertEntry (#1221) 5bb2445 update golang.org/x/text to v0.3.3 (#1230) 3fb168f Defer IDGenerator initialization until first use (#1228)

v0.22.4

3 years ago

Changes Since 0.22.3

5fa069b99bc903d713add0295c7e0a55d34ae573 Initialize View Start Time During View Registration (#1215) 1901b56b9515b0c34f5d25a5bce982dfc543d64b Allow custom view.Meters to export metrics for other Resources (#1212) 785d8992f1ac50097e9140accb05630e0eadfb5e Delete views from measure ref when unregistering (#1211) cd9ae5c410523cd544f32259038c4adbef5831f7 Remove call to time.Now() on worker thread when handling record reqs (#1210) 46dfec7deb6e8c5d4a46f355c0da7c6d6dc59ba4 Reduce allocations (#1204) d3cf45e7d045b133e91dd98a8a695fd04d6f2d80 Safely reject invalid-length span and trace ids (#1206) 84d38db2b42a4fc1eebad7b32616e8f4bd48bd76 Allow creating additional View universes. (#1196) 84d38db2b42a4fc1eebad7b32616e8f4bd48bd76 replace gofmt with goimports (#1197)

v0.22.3

4 years ago

Changes Since 0.22.2

d835ff86be02193d324330acdb7d65546b05f814 fix config_test to run in any order. (#1194) d851005f548fb76216358effa0fac2352fd15592 Added handling of HTTP code 409 when parsing trace status in ochttp (#1190) 643eada29081047b355cfaa1ceb9bc307a10423c Added test exporter for use in unit tests. (#1185)

v0.22.2

4 years ago

Changes since v0.22.1

aad2c527c5defcf89b5afab7f37274304195a6b2 exclude zero bucket from aggregation_data (#1183) 3b5a343282fe4b4fccdb0f24cbd1d7169d20858a Added seconds unit (#1179) fa651b05963cfb6060755dc887e7d156ba66e792 Add runtime metrics support (#1156) f58a71790be543eb35437f28370e9817b5d092bb Allow overriding health endpoint check in handler (#1177) df0549d970e2a64236cca48fa6a76f0d321c8254 add opencensus and opentracing merger note (#1175) d7af601eacbd8e41ece0b1a9fbb9040c844d8fa4 Add New Relic to list of available exporters. (#1172) 65310139a05de5c10077b75ac45eac743aa01214 Remove Gopkg.toml (#1170) 1b2595daaf5b3b90f83bdba55486caa1d38c61a2 fix appveyor build. (#1168) 3da91ae5e6af5a3e42dac7761866fa513a753d5e Simplify use of time package (#1167) ce85b6d0fba87f4b9f1bef96b9692e7ece47514b Use stats.UnitDimensionless rather than deprecated stats.UnitNone (#1166)

v0.22.1

4 years ago

Changes since v0.22.0

59d1ce35d30f3c25ba762169da2a37eab6ffa041 Update LRU usage (#1164) 556cb5bcd57b4e3e6bdb538f7ac80f161f10393c Fix typo in view documentation and remove unnecessary type conversions (#1162) c3153da60838155e855bf92946f877d763607410 Fix bug in ocgrpc client logging (#1161) 19caf3aebd1153094beef53e7449948b2d403406 Use time.Since rather than time.Now().Sub (#1160) 29aa3cabbf25be9f1c3c6d78cecfbe0c3e20cf5a change unit to dimensionless when aggregation is count. (#1157) b4a14686f0a98096416fe1b4cb848e384fb2b22b Clean up comments in view.go (#1152) 19a91518e33fbd42c94402bb5758d88f3c3738eb Map 422 Unprocessable Entity to INVALID_ARGUMENT (#1149) df42942ad08fc1d7526b5a0361f909c351fabfa3 Add deployment key for k8s resource. (#1148) f6172e422374225c6748bd2a9c872e88c2eb43d4 Replace tag.NewKey calls with tag.MustNewKey where appropriate (#1146) a092815c29e3a8fb79dfa966ad048ed20f1f8c01 Fix typo in docs An => A (#1145) 6325d764b2d4a66576c5623aa1e6010b4148a429 Bump up the version to v0.23.0 (#1144)

v0.22.0

4 years ago

Important Changes

  • constants for monitored resources are moved to this repo and removed from resource repo
  • Added safe way to create tag Key using MustNewKey

Complete list of changes since release v0.21.0

9c377598961b706d1542bd2d84d538b5094d596e tag: add func MustNewKey to wrap NewKey with panic (#1141) 766cc5be833088517f0a505203556dd2e7cb6a4b update comment for cloud resources. fff365efde290a8255695a28d0042a052e2196d4 add constant keys for resources. 54a91f56dc0739b255dcb4ad2e03fd464bbb3a1f Fix a couple of broken links (#1142) f24e56296b3a742d13b8368bbb1e831f9b0d2c7f Fix typos and imports. (#1139) 17d7955af9d42886455ce010dd46878208041a58 Replace "x/net/context" import with "context" (#1138) a2c785e1ef970451110c62e968897b762df15c94 Upgrade dependencies. (#1137) 3f87460392ecb6a7d045e65de9b0dee340fa3a40 remove triage-me label from template. 5c6a904e408b5ba73f0e0abd48bdb7325c796f8f Bump up the version to v0.22.0

v0.21.0

5 years ago

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

df6e2001952312404b06f5f6f03fcb4aec1648e5 Run go mod tidy before merging dev to master. 9328d4452712b1c5de920db06d8dffdb1c29cdab Remove deprecated exemplar package. (#1124) beff310c05d38f26989b9fb231bdd8d1ef9c8667 Exemplar: Record with sampled SpanContext in gRPC plugin. (#1127) 648e9a0a3cf396d583eaac525b80af509be823b0 fix buckets in example/quickstart (#1132) d00fa0cebf4100c68eb95c9afc5252e4dde0b3fa Added payload size to http server integration (#1129) 6161d2e35a4cdc5aab068cd3be67a33172ce6510 Add support for Tag metadata (#1125) ed3a3f0bf00d34af1ca7056123dae29672ca3b1a Move exporters out from core. (#1118) c31d2681e2c7549cefb261aa836cbcb0bb579938 add constant labels to gauges and cumulative metrics (#1122) 3e65bcba0dcec645795cc8621180839401c18a0b update example to use log exporter. (#1128) 295a4b8b79f868eed42df5700d1f63fd4d295ae0 Add log exporter. (#1126) 0ac3701b0da6461885aa3ae14c555221d967c2c8 Exemplar: Add new record APIs that take exemplar attachments and SpanContext key. (#1123) 18733e46898ab8de9e6ab77c5831bb4d60b184bf remove Set method for cumulatives. (#1120) 9a306f3a1b7db2a11844afd293db163e2a6c6098 fix typo in feature request template. (#1119) cc78dac756f754b43d8d1c7df0f4d736679511cd update issue template. (#1117) 4651f24ee1b45bd729a51adb0512c6c6ab8abe24 Add description field to LabelKey (#1114) c82de269c502c4fba8e9d85d313cf900185551a9 add space between error and %v in gauge example. (#1116) 6bebf5675638c2b62e7e1085de9d939440a00b3c Fix comment received for #1110 after it was merged. (#1113) a7c47d30fa4a933d83c39d7a5c66c9d2f712c96b Add derived gauge example. (#1110) 1c036dfa995bd1204e960d294380056a040b3ddf Fix TOC and some typos. (#1111) a209e5872e89ea675c5e1f46fe3e7a94876c82e3 Remove extraneous err check. (#1109) 5d1b8afbde42a61198d10d147afec11355dbee8d Add gauges example. (#1107) aca3e8a2679285ba3a7401f60cf559754ed6a88d Add support for metrics in prometheus exporter (#1105) ef4afeb0d0cf4fc08868683603cd6e474be9be18 fix race condition in reading record and updating record. (#1104) bf1b28d373689ebd1638037342c8ba677c05d576 replace missing tag with empty values during metric export. (#1102) df5e77171e18725e4a690c45f8f7021e5aa64332 Add support for cumulative. (#1090) 01ba74404d0b299402513bfc98f354a71f1d1a1e Refactor gauge and registry to accommodate cumulative. (#1089) 75c0cca22312e51bfd4fafdbe9197ae399e18b38 run go mod tidy after fixing dependency on google.golang.org/api (#1097) a901c1e4e21a3f29577cff385816f219d24aa0c5 fix version script to ignore pre-release tags. (#1098) 8930459677fde1e11e3e1b50bbed1acc850b5665 change google.golang.org/api dependency to v0.3.1 (#1096) eec2a5dd95e7f60a4a4ea640843638c7775a1b75 replace +alpha with -alpha. (#1095) 60399d2142e0691c0ebdca89e466a5f555730ffa Fix version dependencies with google.golang.org (#1094) d0e431e6d06ef7615294bf1e2e29fc509c0ab03e Bump up the version to 0.21.0 (#1088)

v0.20.0

5 years ago

46618d076d80f4eab85adbcb3be9a370be1dc4e0 Replace deprecated Endpoint of Jaeger example (#1087) 948b0cbb528c09f0595e797ff72992d8a9f46be0 Refactor gauge api with options. (#1086) 41e54b832491efe97a2aafe696f6e7d812f136bb metric type is not set for gauges. (#1082) ec71c97329c63957a27562a5ae6833305e9c3519 stats worker as metric producer. (#1078) 5ae9166f90ff989c557e45fcb9592ac59afa0fa0 Add support for reader. (#1049) 7396103d6a6f92b9b0dda7164a8abd2bc6e9e5ef http out test cases (#928) 8a36f74db452c3eb69935e0ce66aecc030cf5142 Exemplar: Use generic interface for attachment values. (#1070) ebb7978abd3f971d98f7b2b2be19e7e374409b0b Exemplar: Restore previous package to avoid breaking downstream. (#1071) 6ddd4bcc9c808594ec82377ce4323c3f7913be6d ochttp plugin: makes Body a transparent wrapper (#1069) 604812a238915a34d8783eb79cedeabd9aca0cc4 Exemplar: revert wrong implementation. (#1067)