agardnerIT / tracepusher

Generate and push OpenTelemetry Trace data to an OTEL collector in JSON format
Apache License 2.0
54 stars 11 forks source link

Enhancement: Add duration type parameter #52

Closed agardnerIT closed 1 year ago

agardnerIT commented 1 year ago

Related to #51

Tracepusher currently accepts -dur N where it is hardcoded to be dealt with as seconds. tracepusher then translates that to nano seconds: https://github.com/agardnerIT/tracepusher/blob/cfec80193bd0d4a2770989a32f941c53670af406/tracepusher.py#L222

This issue is created for an enhancement to tracepusher that:

agardnerIT commented 1 year ago

Work in progress: https://github.com/agardnerIT/tracepusher/blob/add-duration-type/tracepusher.py

agardnerIT commented 1 year ago

Resolved: https://github.com/agardnerIT/tracepusher/commit/ebd8af49dfbe38a98c05fefffc203801b5a78949

Will add docs now