DEV Community

Adam Gardner
Adam Gardner

Posted on

tracepusher & HAR to Dev Tools v0.10.0 Released

I'm excited to announce tracepusher v0.10.0 has been released. Along with this release, the project also releases standalone binaries for the Google Chrome DevTools HAR file to OpenTelemetry converter.

New Features

This release adds a new flag called --start-time which allows users to set the start time of a trace in one of two formats:

Unix Timestamp

./tracepusher \
  --endpoint http://localhost:4318 \
  --span-name spanOne \
  --service-name serviceOne \
  --duration 2 \
  --duration-type s \
  --start-time 1700967916494000000
Enter fullscreen mode Exit fullscreen mode

Date and Time Format

./tracepusher \
  --endpoint http://localhost:4318 \
  --span-name spanOne \
  --service-name serviceOne \
  --duration 2 \
  --duration-type s \
  --start-time 2023-11-26T03:05:16.844Z
Enter fullscreen mode Exit fullscreen mode

HAR to OpenTelemetry Converter Binaries

This tool takes a Chrome DevTools HAR file input and converts it to OpenTelemetry format, then sends it out to a OpenTelemetry collector.

./har-to-otel \
  -f /path-to-file/YOUR-HAR-FILE.har \
  -ep http://otel-collector-url:4318 \
  --insecure true
Enter fullscreen mode Exit fullscreen mode

We Need You!

The project needs contributors! If you're looking for a friendly open source project to get your first PRs accepted, drop by and pick up a good first issue or reach out to us and see how you can make the tool better - we're always looking for feedback and enhancements!

Documentation and Links

As always, full documentation is available on the tracepusher docs site and code is available on Github.

Top comments (0)