Skip to content

Commit 6d793ec

Browse files
cleanup link ids
1 parent 32654c5 commit 6d793ec

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

content/graphing.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -373,15 +373,15 @@ jQuery(function(){
373373
<div class="collapse" id="collapseJSON" markdown="1">
374374

375375
## Graphing with the JSON editor
376-
{: #jgraphing}
376+
{: #graphing}
377377

378378

379379
[Close JSON tab details](#collapseJSON){: role="button" data-toggle="collapse" aria-controls="collapseJSON" id="collapseJSONClose"}
380380

381381
![JSON Editor](/static/images/references-graphing-jsoneditor.png)
382382

383383
### Grammar
384-
{: #jgrammar}
384+
{: #grammar}
385385

386386

387387
The graph definition language is well-formed JSON and is structured in four parts:
@@ -420,7 +420,7 @@ In other words at the highest level the JSON structure is a dictionary with two,
420420
\* *only requests and viz are required.*
421421

422422
## Requests
423-
{: #jrequests}
423+
{: #requests}
424424

425425
The general format for a series is:
426426

@@ -437,7 +437,7 @@ A Series can be further combined together via binary operators (+, -, /, *):
437437
metric{scope} [by {group}] operator metric{scope} [by {group}]
438438

439439
#### Functions
440-
{: #jfunctions}
440+
{: #functions}
441441

442442
You can apply functions to the result of each query. <a href="/examples/graphing functions/">Examples</a>
443443

@@ -659,17 +659,17 @@ future. For more on <code>.as_count()</code> please see our blog post
659659
<a target="_blank" href="https://www.datadoghq.com/2014/05/visualize-statsd-metrics-counts-graphing/">here</a>.
660660

661661
#### Aggregation Method
662-
{: #jaggregation}
662+
{: #aggregation}
663663

664664
In most cases, the number of data points available outnumbers the maximum number that can be shown on screen. To overcome this, the data is aggregated using one of 4 available methods: average, max, min, and sum.
665665

666666
#### Metrics
667-
{: #jmetrics}
667+
{: #metrics}
668668

669669
The metric is the main focus of the graph. You can find the list of metrics available to you in the [Metrics Summary](https://app.datadoghq.com/metric/summary). Click on any metric to see more detail about that metric, including the type of data collected, units, tags, hosts, and more.
670670

671671
#### Scope
672-
{: #jscope}
672+
{: #scope}
673673

674674
A scope lets you filter a Series. It can be a host, a device on a host
675675
or any arbitrary tag you can think of that contains only alphanumeric
@@ -685,12 +685,12 @@ Examples of scope (meaning in parentheses):
685685
* (wildcard for everything)
686686

687687
#### Groups
688-
{: #jgroups}
688+
{: #groups}
689689

690690
For any given metric, data may come from a number of hosts. The data will normally be aggregated from all these hosts to a single value for each time slot. If you wish to split this out, you can by any tag. To include a data point seperated out by each host, use {host} for your group.
691691

692692
#### Arithmetic
693-
{: #jmath}
693+
{: #math}
694694

695695
You can apply simple arithmetic to a Series (+, -, * and /). In this
696696
example we graph 5-minute load and its double:
@@ -722,7 +722,7 @@ apples by oranges.
722722

723723

724724
### Events
725-
{: #jevents}
725+
{: #events}
726726

727727
You can overlay any event from Datadog. The general format is:
728728

@@ -750,7 +750,7 @@ or if you're looking to display all errors:
750750

751751

752752
### Visualization
753-
{: #jviz}
753+
{: #viz}
754754

755755
Data can be visualized in a few different ways:
756756

@@ -769,7 +769,7 @@ The Time Series can be further broken down to:
769769
4. as bar charts
770770

771771
#### Line Charts
772-
{: #jlinecharts}
772+
{: #linecharts}
773773

774774
<img src="/static/images/multi-lines.png" style="width:100%; border:1px solid #777777"/>
775775

@@ -788,7 +788,7 @@ The representation is automatically derived from having multiple `requests` valu
788788
]
789789

790790
#### Stacked Series
791-
{: #jstacked}
791+
{: #stacked}
792792

793793
<img src="/static/images/slice-n-stack.png" style="width:100%; border:1px solid #777777"/>
794794

@@ -803,7 +803,7 @@ In the case of related Time Series, you can easily draw them as stacked areas by
803803
Instead of one query per chart you can aggregate all queries into one and simply concatenate the queries.
804804

805805
#### Slice-n-Stack
806-
{: #jslice}
806+
{: #slice}
807807

808808
A useful visualization is to represent a metric shared across
809809
hosts and stack the results. For instance, when selecting a tag that
@@ -833,7 +833,7 @@ to get traffic for all the tagged hosts, split by host and network device.
833833

834834

835835
### Y-Axis Controls
836-
{: #jyaxis}
836+
{: #yaxis}
837837

838838
The Datadog y-axis controls (currently just via the JSON editor) allow you to:
839839
<ul>
@@ -880,7 +880,7 @@ Examples:
880880
}
881881

882882
#### Filtering
883-
{: #jfilter}
883+
{: #filter}
884884

885885
Filter configuration allows you to automatically change y-axis bounds based on a
886886
threshold. Thresholds can be a percentage or an absolute value, and it can apply to
@@ -955,7 +955,7 @@ Here is a full JSON example:
955955

956956

957957
#### Examples
958-
{: #jexamples}
958+
{: #examples}
959959

960960
Here is an example using the <code>rate()</code> function, which takes only a single metric as a parameter. Other functions, with the exception of <code>top()</code> and <code>top_offset()</code>, have identical syntax.
961961

0 commit comments

Comments
 (0)