Embedding Graphs

For cases where you need to export graphs but it's inconvenient to use share buttons in the interface, Instrumental supports the following embed URL format.

https://instrumentalapp.com/graphs/PROJECT_EMBED_TOKEN/GRAPH_ID.FORMAT
PROJECT_EMBED_TOKEN Can be found on your project settings page.
GRAPH_ID Can be found in the URL when viewing a graph.
FORMAT Can be either PNG or HTML. See below.

Warning Anyone with your project embed token will have access to view any graph or metric in your project. It is not advisable to share embed links publicly unless you intend for users to be able to view any graph in the shared project.

Query Parameters

The following parameters may be specified with either HTML or PNG format:

start The Unix timestamp in seconds (since epoch) for the intended start of the graph.
duration The duration displayed on the graph.
resolution The resolution of the graph data points.

HTML Format

The HTML format is intended for embedding via iframes or scraping. It includes a copy of Instrumental stylesheets and Javascripts; however, it will not update dynamically.

PNG Format

The PNG format may have the following additional parameters supplied:
width The desired width of the output image.
height The desired height of the output image.
Questions? We can help!