The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.14.1 - 2024-12-03
- No longer set the
tracing
max level features. This allows you to enable more verbose logging on runtime via theRUST_LOG
environment variable. This should not affect most users, as the env filter by default is already set toerror
. In order to restore previous behavior you can enable thetracing
features yourself
tracing = {version = "0.1", features = ["max_level_debug", "release_max_level_info"]}
0.14.0 - 2024-12-03
- Bumped opentelemetry version to 0.27
0.13.1 - 2024-10-18
- Error impl for EnvironmentParseError
0.13.0 - 2024-10-09
- Bumped opentelemetry version to 0.26
0.12.0 - 2024-09-17
- Bumped opentelemetry version to 0.25
0.11.1 - 2024-09-12
- Shutdown the tracing provider before exiting (bug)
0.11.0 - 2024-07-24
- Bumped opentelemetry version to 0.24
0.10.0 - 2024-07-08
--
- Bumped opentelemetry version to 0.23
0.9.4 - 2024-05-20
- Added
error.type
,error.kind
,error.stack
anderror.message
to trace events (logs).
0.9.3 - 2024-05-14
- Added
error.kind
toErrorLayer
hopefully fixing datadog error tracking.
0.9.2 - 2024-05-03
- Added metadata based on the kubernetes environment variables:
- KUBE_APP_PART_OF
- KUBE_APP_MANAGED_BY
- KUBE_APP_VERSION
- KUBE_APP_INSTANCE
0.9.1 - 2024-04-08
- Added an
ErrorLayer
to adderror.message
,error.type
anderror.stack
to the log metadata when atracing::Event
is anError
.
0.9.0 - 2024-03-26
No new changes since 0.9.0-rc.1
- Automatically append /v1/traces to the collector endpoint
This is only done if a /v1/traces suffix isn't already there, meaning old configurations should continue to function
- All log metadata is now stored in the top level object instead of under a
metadata
key.
0.9.0-rc.1 - 2024-03-11
- Automatically append /v1/traces to the collector endpoint
This is only done if a /v1/traces suffix isn't already there, meaning old configurations should continue to function
0.9.0-rc.0 - 2024-03-04
- All log metadata is now stored in the top level object instead of under a
metadata
key.
0.8.1 - 2024-01-05
- Added
opentelemetry_sdk
crate intraces
feature.
0.8.0 - 2023-12-22
- New
opentelemetry_sdk
dependency, which inherits thert-tokio
feature
- Bump
opentelemetry
to 0.21 and remove thert-tokio
feature - Bump
opentelemetry-otlp
to 0.14 - Bump
tracing-opentelemetry
to 0.22 - Move
rt-tokio-current-thread
to map to["opentelemetry_sdk/rt-tokio-current-thread"]
, the tokio stuff has been moved toopentelemetry_sdk
0.7.2 - 2023-10-26
- Bump
tracing-log
to 0.2
0.7.1 - 2023-10-11
- Bump
tracing-opentelemetry
to 0.21 - Remove QA env support
0.7.0 - 2023-08-29
- Bump otel to v0.20
⚠️ Increased the minimum rust version to 1.68
0.6.3 - 2023-06-13
- Add
Common
toCountry
, since some services are common to all countries
0.6.2 - 2023-05-30
- Trace resources are all set correctly
0.6.1 - 2023-05-30
country
is actually added as an attribute to traces
0.6.0 - 2023-05-26
dev
andlive
feature sets⚠️ ️ Added mandatorycountry
field
-
Renamed feature flags
- prima-logger-datadog -> datadog
- prima-logger-json -> json-logger
- prima-telemetry -> traces
Old feature names will continue to function as aliases to the new names
-
⚠️ ️env
is now required and will not default toDev
anymore -
Bumped opentelemetry to v0.19
- Removed the default
prima-logger
feature. This is a non-breaking change since the library already failed to compile without it.
0.5.0 - 2022-07-04
- SubscriberConfig env field value changed from string to enumeration (Environment)
- Update dependencies
⚠️ Increased the minimum rust version to 1.57.0
Avoid to depend on time 0.1 that has security issues.
0.4.0 - 2022-06-09
OpenTelemetry traces are now exported using the OTLP format instead of the
Zipkin one.
http://[HOSTNAME]:55681/v1/traces
.
If you are using Jaeger to collect traces locally on your machine, you will need to update your Docker Compose setup to the following:
jaeger:
image: jaegertracing/all-in-one:1.35
ports:
- 16686:16686
- 55681:55681
environment:
COLLECTOR_OTLP_ENABLED: true
COLLECTOR_OTLP_HTTP_HOST_PORT: 55681