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.
A Sourcegraph extension that lets you view live traces on LightStep for OpenTracing spans in your code.
➕ Add to Sourcegraph (see usage instructions for self-hosted Sourcegraph instances)
Works on Sourcegraph.com and self-hosted Sourcegraph instances.
- Live traces on LightStep link decoration on lines containing OpenTracing start span calls
- Enable the
sourcegraph/lightstep
extension:- On Sourcegraph.com, visit https://sourcegraph.com/extensions/sourcegraph/lightstep to enable it.
- On a self-hosted Sourcegraph instance, select User menu > Extensions, search for
sourcegraph/lightstep
, and enable it.
- 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.)
- 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.
- 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.