How do I edit the graphs?

On each graph you will find a cog icon that opens the graph editor.

The graph editor has 2 tabs, “Edit” and “JSON”. The “JSON” tab is the most flexible and powerful. It lets you finely control what is displayed on the graph.

The graph definition language is well-formed JSON and is structured in 2 parts:

  1. Events
  2. Time Series, a.k.a. Series

Here is how they fit together in a JSON dictionary:

{
  "requests": [
    {
      "q": "metric{scope}"
    }
  ],
  "events": [
    {
      "q": "search query"
    }
  ]
}

In other words at the highest level the JSON structure is a dictionary with 2 entries:

  1. “events”
  2. “requests”
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk