Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

A Sourcegraph extension that lets you view LightStep live traces for OpenTracing spans in your code

License

Notifications You must be signed in to change notification settings

sourcegraph/sourcegraph-lightstep

Repository files navigation

LightStep for Sourcegraph

⚠️ Deprecation notice

Sourcegraph extensions have been deprecated with the September 2022 Sourcegraph release. Learn more.

The repo and the docs below are kept to support older Sourcegraph versions.

Description

A Sourcegraph extension that lets you view live traces on LightStep for OpenTracing spans in your code.

🗃️ Source code

➕ Add to Sourcegraph (see usage instructions for self-hosted Sourcegraph instances)

Features

Works on Sourcegraph.com and self-hosted Sourcegraph instances.

  • Live traces on LightStep link decoration on lines containing OpenTracing start span calls

Screenshot

Usage

  1. Enable the sourcegraph/lightstep extension:
  2. Visit any code file containing an OpenTracing start span call. (If the extension needs configuration, it will say so on lines containing OpenTracing calls and in the file header.)
  3. Click on the Live traces (LightStep) link that appears at the end of the line of each OpenTracing start span call to open the LightStep live traces page for that operation.

Roadmap

  • Support more patterns for OpenTracing span starts. The current regexp for matching these is quite simple.
  • Add at-a-glance summary about a span in a hover message.
  • Display all spans in the current file, tree, and repository.
  • Support usage in the Sourcegraph browser extension.
  • Link to LightStep queries for tags and other properties of a span.
  • Show all recent tag values for a span (for all tags, and for each tag defined in a call).
  • Show spans that contain a given span.

About

A Sourcegraph extension that lets you view LightStep live traces for OpenTracing spans in your code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published