Commit Graph

10 Commits

Author SHA1 Message Date
39bf8b8356 feat: loosen the type restrictions on attr.Json
Just like `json.Marshal` takes arguments of `any` type, the `attr.Json`
should have similarly loose restrictions on input type.
2024-09-25 16:11:08 +02:00
9a1b41b1ad feat: new helpers and masking/encrypting attributes
New helper functions were added to make call-site less likely to need
to pull `go.opentelemetry.io/otel/attribute` as a dependency.
Additionally `Encrypted` and `Masked` were added to add a possibility of
logging sensitive data in a more secure manner.
2024-09-13 15:48:16 +02:00
dc4d3942f5 feat: add gorm tracing middleware 2024-07-24 17:17:13 +02:00
86e9128c68 add db.execution_time_ms 2024-05-20 17:29:00 +02:00
16dbdeec3e alias KeyValue to make users slightly more independent from otel 2024-05-20 17:23:06 +02:00
77ab12c3ac move repository and module imports to new location 2024-05-20 08:20:13 +02:00
076196c03e added event wrappers, bug fixes, API improvements 2024-05-17 18:21:09 +02:00
3c51f5575b plenty of changes to make the package more ergonomic
Including: bug fixes, api changes, new packages, and more!
2024-05-17 15:31:35 +02:00
fc92995cc8 start reworking exporters to be more composable 2024-05-16 18:19:36 +02:00
ab5b70704d standardize commonly used attributes
Some commonly used at maal attributes have been encoded as consts with
convinience wrappers similar to those of semconv package from otel sdk.
Additionally some utils that can generate mutliple attributes were added.
2024-05-16 13:45:13 +02:00