Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AutometricsNew to Visual Studio Code? Get it now.
Autometrics

Autometrics

Fiberplane

|
54 installs
| (0) | Free
Show enhanced autometrics information from your code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Autometrics

This extension writes PromQL queries for instrumented functions or methods using Autometrics libraries.

Currently supported languages:

  • TypeScript
  • Python

More languages will be supported in the future.

Features

After decorating your code with autometrics, this extension will enrich the information displayed for a given function on hover.

Enhanced autometrics information

Extension Settings

This extension contributes the following settings:

  • autometrics.prometheusUrl: configure your Prometheus URL. This URL is used to create links to your Prometheus including useful autometrics based queries

Developing this extension

This extension is built using:

  • yarn
  • esbuild as the bundler

In order to test the extension locally, you may want to install the following extensions:

  • Rome.
  • esbuild Problem Matchers This is needed when vscode to debug the extension.

If you want to install a release from GitHub manually, open the command palette via cmd + shift + p and pick the install visx option and point the filepicker to your local extension.

How to release a new version

Create a new release using Github which matches the version number it should be released under.

After tagging and releasing, merge main into the release branch. (The release branch should always reflect the latest released version on VSCode marketplate.)

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft