goc_natalia
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
goc_natalia
2004e1b2f5
feat: add a new single-line formatter for console_exporter
...
Closes #7
2024-09-10 15:53:36 +02:00
goc_natalia
dc4d3942f5
feat: add gorm tracing middleware
2024-07-24 17:17:13 +02:00
goc_natalia
9971ef17cb
feat: add trace context propagation to http headers
...
Trace context should now be propagated correctly in headers of requests
and responses touched by the fiber_tracing middleware. This should enable
true distributed tracing between multiple services.
2024-07-24 15:19:51 +02:00
goc_natalia
fc38f26e1f
fix: numbers invisible in console exporter output
...
closes #5
2024-06-25 15:26:25 +02:00
goc_natalia
225620da48
feat: enable filtering console output by severity level
2024-06-04 13:04:11 +02:00
goc_natalia
a2b61ea706
do not Printf GELF messages when logging
2024-06-04 11:59:28 +02:00
goc_natalia
3024e888c7
adjust tracing middleware for practical use
2024-05-27 07:37:54 +02:00
goc_natalia
d7b45a1439
copy code and remove dependency on fiber-otel
2024-05-21 07:54:22 +02:00
goc_natalia
7dd3dc70d5
make span names more generic by using Route().Path instead of Path
2024-05-20 20:06:50 +02:00
goc_natalia
031177f30c
fix spans in UserContext() not connected properly to span from fiber.Ctx
2024-05-20 19:35:21 +02:00
goc_natalia
86e9128c68
add db.execution_time_ms
2024-05-20 17:29:00 +02:00
goc_natalia
16dbdeec3e
alias KeyValue to make users slightly more independent from otel
2024-05-20 17:23:06 +02:00
goc_natalia
265731010e
set error status based on severity level of an error
2024-05-20 13:55:53 +02:00
goc_natalia
f5819972a4
allow skipping callstack in errors and events
2024-05-20 13:39:55 +02:00
goc_natalia
c70a285e70
fix panic on missing formatter in console_exporter.ProcessorOptions
2024-05-20 12:18:03 +02:00
goc_natalia
d119563c7d
connect contexts managed by fiber middleware to join at c.UserContext()
2024-05-20 11:45:27 +02:00
goc_natalia
372f4367ed
allow retrieving spans from fiber.Ctx
2024-05-20 11:04:36 +02:00
goc_natalia
77ab12c3ac
move repository and module imports to new location
2024-05-20 08:20:13 +02:00
goc_natalia
076196c03e
added event wrappers, bug fixes, API improvements
2024-05-17 18:21:09 +02:00
goc_natalia
4f4a7e09c5
cleanup unused and add short message to GELF
2024-05-17 15:46:25 +02:00
goc_natalia
d4dc790298
rename ExporterWithConfig to be less confusing and closer to otel
2024-05-17 15:36:35 +02:00
goc_natalia
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
goc_natalia
e9c3ae1a7b
reorganize exporters and simplify their use
2024-05-17 10:37:05 +02:00
goc_natalia
fc92995cc8
start reworking exporters to be more composable
2024-05-16 18:19:36 +02:00
goc_natalia
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
gora_filip
992fcb7940
fix invalid span name
2024-05-13 13:36:45 +02:00
gora_filip
be03e0ce42
update go mod
2024-04-30 14:42:05 +02:00
gora_filip
c194967b33
sync
2024-04-30 12:41:05 +02:00
gora_filip
7a6882c09a
initial commit
2024-04-26 15:09:54 +02:00