mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 00:47:38 -06:00
Use docs/reference for flexible linking for content reused in Grafana Cloud (#70253)
* Use docs/reference for flexible linking for content reused in Grafana Cloud Documented in https://github.com/grafana/website/pull/13878 Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Use docs-base image that has docs/reference shortcode Signed-off-by: Jack Baldry <jack.baldry@grafana.com> --------- Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
parent
66b0e6b77f
commit
3d15d54a71
10
.drone.yml
10
.drone.yml
@ -1089,7 +1089,7 @@ steps:
|
||||
- mkdir -p /hugo/content/docs/grafana/latest
|
||||
- cp -r docs/sources/* /hugo/content/docs/grafana/latest/
|
||||
- cd /hugo && make prod
|
||||
image: grafana/docs-base:latest
|
||||
image: grafana/docs-base:dbd975af06
|
||||
name: build-docs-website
|
||||
trigger:
|
||||
event:
|
||||
@ -1200,7 +1200,7 @@ steps:
|
||||
- mkdir -p /hugo/content/docs/grafana/latest
|
||||
- cp -r docs/sources/* /hugo/content/docs/grafana/latest/
|
||||
- cd /hugo && make prod
|
||||
image: grafana/docs-base:latest
|
||||
image: grafana/docs-base:dbd975af06
|
||||
name: build-docs-website
|
||||
trigger:
|
||||
branch: main
|
||||
@ -7117,7 +7117,7 @@ steps:
|
||||
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM osixia/openldap:1.4.0
|
||||
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM grafana/drone-downstream
|
||||
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM grafana/docker-puppeteer:1.1.0
|
||||
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM grafana/docs-base:latest
|
||||
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM grafana/docs-base:dbd975af06
|
||||
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM cypress/included:9.5.1-node16.14.0-slim-chrome99-ff97
|
||||
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM us-docker.pkg.dev/grafanalabs-dev/cloud-data-sources/e2e:latest
|
||||
image: aquasec/trivy:0.21.0
|
||||
@ -7139,7 +7139,7 @@ steps:
|
||||
- trivy --exit-code 1 --severity HIGH,CRITICAL osixia/openldap:1.4.0
|
||||
- trivy --exit-code 1 --severity HIGH,CRITICAL grafana/drone-downstream
|
||||
- trivy --exit-code 1 --severity HIGH,CRITICAL grafana/docker-puppeteer:1.1.0
|
||||
- trivy --exit-code 1 --severity HIGH,CRITICAL grafana/docs-base:latest
|
||||
- trivy --exit-code 1 --severity HIGH,CRITICAL grafana/docs-base:dbd975af06
|
||||
- trivy --exit-code 1 --severity HIGH,CRITICAL cypress/included:9.5.1-node16.14.0-slim-chrome99-ff97
|
||||
- trivy --exit-code 1 --severity HIGH,CRITICAL us-docker.pkg.dev/grafanalabs-dev/cloud-data-sources/e2e:latest
|
||||
image: aquasec/trivy:0.21.0
|
||||
@ -7364,6 +7364,6 @@ kind: secret
|
||||
name: delivery-bot-app-private-key
|
||||
---
|
||||
kind: signature
|
||||
hmac: 55967abbc18ff15e55bc3d8a1c8f01f4abde576766569c7ae73d8252d62dee87
|
||||
hmac: 2cfe53f430c7cfec1b422a329b009b7c81cd52e897abb7a940115e524796178a
|
||||
|
||||
...
|
||||
|
@ -9,7 +9,7 @@ keywords:
|
||||
- query
|
||||
title: Grafana dashboards overview
|
||||
menuTitle: Dashboard overview
|
||||
weight: 300
|
||||
weight: 390
|
||||
---
|
||||
|
||||
# Grafana dashboards overview
|
||||
@ -34,7 +34,7 @@ It can be difficult to understand the distinctions between different data source
|
||||
|
||||
## Plugins
|
||||
|
||||
A Grafana plugin is software that adds new capabilities to Grafana. They come in many types, but right now we'll address _data source plugins_. The job of a Grafana data source plugin is to take a query you want answered, retrieve the data from the data source, and reconcile the differences between the data model of the data source and the data model of Grafana dashboards. It does this using a unified data structure called a [data frame](/docs/grafana/latest/developers/plugins/data-frames/).
|
||||
A Grafana plugin is software that adds new capabilities to Grafana. They come in many types, but right now we'll address _data source plugins_. The job of a Grafana data source plugin is to take a query you want answered, retrieve the data from the data source, and reconcile the differences between the data model of the data source and the data model of Grafana dashboards. It does this using a unified data structure called a [data frame][data-frames].
|
||||
|
||||
The data coming into the plugin from the data source might be in many different formats (such as JSON, rows and columns, or CSV), but when it leaves the plugin and moves through the rest of the gates toward a visualization, it's always in data frames.
|
||||
|
||||
@ -52,7 +52,8 @@ The following image shows the Query Editor associated with the Prometheus data s
|
||||
|
||||
## Transformations
|
||||
|
||||
When the data format in a visualization doesn’t meet your requirements, you can apply a [transformation]({{< relref "../../panels-visualizations/query-transform-data/transform-data" >}}) that manipulates the data returned by a query. You might not need to transform data when you're first starting out, but they're powerful and worth mentioning.
|
||||
When the data format in a visualization doesn’t meet your requirements, you can apply a [transformation][transform-data] that manipulates the data returned by a query.
|
||||
You might not need to transform data when you're first starting out, but they're powerful and worth mentioning.
|
||||
|
||||
Transforming data is useful in the following kinds of situations:
|
||||
|
||||
@ -87,3 +88,11 @@ Building a Grafana dashboard is a process that starts with determining your dash
|
||||
And with the data source identified and the plugin installed, you can write your query, transform the data, and format the visualization to meet your needs.
|
||||
|
||||
This component architecture is part of what makes Grafana so powerful and general. Given the data source plugin and data frame abstraction, any data source you can access can work with the same general approach.
|
||||
|
||||
{{% docs/reference %}}
|
||||
[data-frames]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/developers/plugins/data-frames"
|
||||
[data-frames]: "/docs/grafana-cloud/ -> /docs/grafana/<GRAFANA VERSION>/developers/plugins/data-frames"
|
||||
|
||||
[transform-data]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/query-transform-data/transform-data"
|
||||
[transform-data]: "/docs/grafana-cloud/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/query-transform-data/transform-data"
|
||||
{{% /docs/reference %}}
|
||||
|
@ -10,7 +10,7 @@ keywords:
|
||||
- prometheus
|
||||
menuTitle: Exemplars
|
||||
title: Introduction to exemplars
|
||||
weight: 750
|
||||
weight: 800
|
||||
---
|
||||
|
||||
# Introduction to exemplars
|
||||
|
@ -10,7 +10,7 @@ keywords:
|
||||
- glossary
|
||||
- dictionary
|
||||
title: Glossary
|
||||
weight: 800
|
||||
weight: 850
|
||||
---
|
||||
|
||||
# Glossary
|
||||
|
@ -11,7 +11,7 @@ keywords:
|
||||
- histogram
|
||||
menuTitle: Histograms and heatmaps
|
||||
title: Introduction to histograms and heatmaps
|
||||
weight: 700
|
||||
weight: 650
|
||||
---
|
||||
|
||||
# Introduction to histograms and heatmaps
|
||||
@ -33,7 +33,7 @@ Here is an example showing height distribution of people.
|
||||
|
||||
{{< figure src="/static/img/docs/histogram-panel/histogram-example-v8-0.png" max-width="625px" caption="Bar chart example" >}}
|
||||
|
||||
For more information about histogram visualization options, refer to [Histogram]({{< relref "../../panels-visualizations/visualizations/histogram" >}}).
|
||||
For more information about histogram visualization options, refer to [Histogram][histogram].
|
||||
|
||||
Histograms only look at _value distributions_ over a specific time range. The problem with histograms is that you cannot see any trends or changes in the distribution over time. This is where heatmaps become useful.
|
||||
|
||||
@ -45,7 +45,7 @@ In this example, you can clearly see what values are more common and how they tr
|
||||
|
||||
![](/static/img/docs/v43/heatmap_histogram_over_time.png)
|
||||
|
||||
For more information about heatmap visualization options, refer to [Heatmap]({{< relref "../../panels-visualizations/visualizations/heatmap" >}}).
|
||||
For more information about heatmap visualization options, refer to [Heatmap][heatmap].
|
||||
|
||||
## Pre-bucketed data
|
||||
|
||||
@ -69,3 +69,11 @@ supports doing histogram bucketing on the raw data.
|
||||
If you remove or lower the group by time (or raise maxDataPoints) in your query to return more data points, your heatmap will be
|
||||
more accurate, but this can also be very CPU and memory taxing for your browser, possibly causing hangs or crashes if the number of
|
||||
data points becomes unreasonably large.
|
||||
|
||||
{{% docs/reference %}}
|
||||
[heatmap]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/heatmap"
|
||||
[heatmap]: "/docs/grafana-cloud/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/heatmap"
|
||||
|
||||
[histogram]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/histogram"
|
||||
[histogram]: "/docs/grafana-cloud/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/histogram"
|
||||
{{% /docs/reference %}}
|
||||
|
@ -105,6 +105,14 @@ The combination of Prometheus and Grafana Agent gives you control over the metri
|
||||
|
||||
Now that you understand how Prometheus metrics work, what will you build?
|
||||
|
||||
- One great next step is to [build a dashboard]({{< relref "../../dashboards/build-dashboards" >}}) in Grafana and start turning that raw Prometheus telemetry data into insights about what’s going with your services and infrastructure.
|
||||
- One great next step is to [build a dashboard][build-dashboards] in Grafana and start turning that raw Prometheus telemetry data into insights about what’s going with your services and infrastructure.
|
||||
- Another great step is to learn about [Grafana Mimir](/oss/mimir/), which is essentially a database for Prometheus data. If you’re wondering how to make this work for a large volumes of metrics with a lot of data and fast querying, check out Grafana Mimir.
|
||||
- If you’re interested in working with Prometheus data in Grafana directly, check out the [Prometheus data source]({{< relref "../../datasources/prometheus" >}}) documentation, or check out [PromQL basics](https://prometheus.io/docs/prometheus/latest/querying/basics/).
|
||||
- If you’re interested in working with Prometheus data in Grafana directly, check out the [Prometheus data source][prometheus] documentation, or check out [PromQL basics](https://prometheus.io/docs/prometheus/latest/querying/basics/).
|
||||
|
||||
{{% docs/reference %}}
|
||||
[build-dashboards]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/dashboards/build-dashboards"
|
||||
[build-dashboards]: "/docs/grafana-cloud/ -> /docs/grafana/<GRAFANA VERSION>/dashboards/build-dashboards"
|
||||
|
||||
[prometheus]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/datasources/prometheus"
|
||||
[prometheus]: "/docs/grafana-cloud/ -> /docs/grafana/<GRAFANA VERSION>/datasources/prometheus"
|
||||
{{% /docs/reference %}}
|
||||
|
@ -3,7 +3,6 @@ aliases:
|
||||
- ../basics/timeseries-dimensions/
|
||||
- ../getting-started/timeseries-dimensions/
|
||||
- ../guides/timeseries-dimensions/
|
||||
- /docs/rafana/latest/fundamentals/timeseries-dimensions/
|
||||
description: time series dimensions
|
||||
keywords:
|
||||
- grafana
|
||||
@ -13,12 +12,12 @@ keywords:
|
||||
- timeseries
|
||||
- labels
|
||||
title: Time series dimensions
|
||||
weight: 600
|
||||
weight: 500
|
||||
---
|
||||
|
||||
# Time series dimensions
|
||||
|
||||
In [Introduction to time series]({{< relref "../timeseries#time-series-databases" >}}), the concept of _labels_, also called _tags_, is introduced:
|
||||
In [Introduction to time series][time-series-databases], the concept of _labels_, also called _tags_, is introduced:
|
||||
|
||||
> Another feature of a TSDB is the ability to filter measurements using _tags_. Each data point is labeled with a tag that adds context information, such as where the measurement was taken.
|
||||
|
||||
@ -89,11 +88,23 @@ More than one dimension is currently only supported in the Logs queries within t
|
||||
{{% /admonition %}}
|
||||
|
||||
{{% admonition type="note" %}}
|
||||
Multiple dimensions are not supported in a way that maps to multiple alerts in Grafana, but rather they are treated as multiple conditions to a single alert. For more information, see See the documentation on [creating alerts with multiple series]({{< relref "../../alerting/alerting-rules/create-grafana-managed-rule#single-and-multi-dimensional-rule" >}}).
|
||||
Multiple dimensions are not supported in a way that maps to multiple alerts in Grafana, but rather they are treated as multiple conditions to a single alert.
|
||||
For more information, see the documentation on [creating alerts with multiple series][create-grafana-managed-rule].
|
||||
{{% /admonition %}}
|
||||
|
||||
### Multiple values
|
||||
|
||||
In the case of SQL-like data sources, more than one numeric column can be selected, with or without additional string columns to be used as dimensions. For example, `AVG(Temperature) AS AvgTemp, MAX(Temperature) AS MaxTemp`. This, if combined with multiple dimensions, can result in a lot of series. Selecting multiple values is currently only designed to be used with visualization.
|
||||
|
||||
Additional technical information on tabular time series formats and how dimensions are extracted can be found in [the developer documentation on data frames as time series]({{< relref "../../developers/plugins/data-frames#data-frames-as-time-series" >}}).
|
||||
Additional technical information on tabular time series formats and how dimensions are extracted can be found in [the developer documentation on data frames as time series][data-frames-as-time-series].
|
||||
|
||||
{{% docs/reference %}}
|
||||
[create-grafana-managed-rule]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/alerting/alerting-rules/create-grafana-managed-rule#single-and-multi-dimensional-rule"
|
||||
[create-grafana-managed-rule]: "/docs/grafana-cloud/ -> /docs/grafana/<GRAFANA VERSION>/alerting/alerting-rules/create-grafana-managed-rule#single-and-multi-dimensional-rule"
|
||||
|
||||
[data-frames-as-time-series]: "/docs/grafana/ -> docs/grafana/<GRAFANA VERSION>/developers/plugins/data-frames#data-frames-as-time-series"
|
||||
[data-frames-as-time-series]: "/docs/grafana-cloud/ -> docs/grafana/<GRAFANA VERSION>/developers/plugins/data-frames#data-frames-as-time-series"
|
||||
|
||||
[time-series-databases]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/fundamentals/timeseries#time-series-databases"
|
||||
[time-series-databases]: "/docs/grafana-cloud/ -> /docs/grafana/<GRAFANA VERSION>/fundamentals/timeseries#time-series-databases"
|
||||
{{% /docs/reference %}}
|
||||
|
@ -19,7 +19,7 @@ images = {
|
||||
"openldap_image": "osixia/openldap:1.4.0",
|
||||
"drone_downstream_image": "grafana/drone-downstream",
|
||||
"docker_puppeteer_image": "grafana/docker-puppeteer:1.1.0",
|
||||
"docs_image": "grafana/docs-base:latest",
|
||||
"docs_image": "grafana/docs-base:dbd975af06",
|
||||
"cypress_image": "cypress/included:9.5.1-node16.14.0-slim-chrome99-ff97",
|
||||
"cloud_datasources_e2e_image": "us-docker.pkg.dev/grafanalabs-dev/cloud-data-sources/e2e:latest",
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user