Commit Graph

21 Commits

Author SHA1 Message Date
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
2004e1b2f5 feat: add a new single-line formatter for console_exporter
Closes #7
2024-09-10 15:53:36 +02:00
225620da48 feat: enable filtering console output by severity level 2024-06-04 13:04:11 +02:00
d7b45a1439 copy code and remove dependency on fiber-otel 2024-05-21 07:54:22 +02:00
7dd3dc70d5 make span names more generic by using Route().Path instead of Path 2024-05-20 20:06:50 +02:00
c70a285e70 fix panic on missing formatter in console_exporter.ProcessorOptions 2024-05-20 12:18:03 +02:00
d119563c7d connect contexts managed by fiber middleware to join at c.UserContext() 2024-05-20 11:45:27 +02:00
372f4367ed allow retrieving spans from fiber.Ctx 2024-05-20 11:04:36 +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
4f4a7e09c5 cleanup unused and add short message to GELF 2024-05-17 15:46:25 +02:00
d4dc790298 rename ExporterWithConfig to be less confusing and closer to otel 2024-05-17 15:36:35 +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
e835318689 fix incorrect API usage in the example
`attr.SourceCodeLocation` already adds to callstack search depth to match
its call site.
2024-05-17 10:39:32 +02:00
e9c3ae1a7b reorganize exporters and simplify their use 2024-05-17 10:37:05 +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
6fb12e9e9d making executing reqs against example binary easier 2024-05-15 15:51:24 +02:00
992fcb7940 fix invalid span name 2024-05-13 13:36:45 +02:00
be03e0ce42 update go mod 2024-04-30 14:42:05 +02:00
0add3425bd sync 2024-04-30 14:22:09 +02:00