Skip to content

Commit

Permalink
Move tutorials to docs/sources/ (#1544)
Browse files Browse the repository at this point in the history
* Move tutorials to docs/sources/

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Add description and keywords

Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
  • Loading branch information
3 people committed Mar 24, 2022
1 parent 954f267 commit 38ab255
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 3 deletions.
9 changes: 9 additions & 0 deletions docs/sources/tutorials/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "Tutorials"
menuTitle: "Tutorials"
weight: 40
---

# Tutorials

{{< section >}}
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
---
title: "Play with Grafana Mimir"
menuTitle: "Play with Grafana Mimir"
description: "This tutorial helps you learn about Grafana Mimir, which provides distributed, horizontally scalable, and highly available long term storage for Prometheus."
weight: 1
keywords:
- mimir tutorial
- learn mimir
- mimir overview
- what is mimir
- time series database
- TSDB
- Prometheus storage
- metrics storage
- metrics datastore
- observability
- Prometheus read write
author:
- marco
---

# Play with Grafana Mimir

Grafana Mimir is a distributed, horizontally scalable, and highly available long term storage for [Prometheus](https://prometheus.io).
Expand All @@ -24,10 +45,10 @@ In this tutorial, you'll:
```
1. Navigate to the tutorial directory:
```bash
cd tutorials/play-with-grafana-mimir/
cd docs/sources/tutorials/play-with-grafana-mimir/
```

**Note**: the instructions in this tutorial assume that your working directory is `tutorials/play-with-grafana-mimir/`.
**Note**: the instructions in this tutorial assume that your working directory is `docs/sources/tutorials/play-with-grafana-mimir/`.

## Start Grafana Mimir and dependencies

Expand Down
2 changes: 1 addition & 1 deletion integration/getting_started_with_grafana_mimir_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TestPlayWithGrafanaMimirTutorial(t *testing.T) {
require.NoError(t, err)
defer s.Close()

require.NoError(t, copyFileToSharedDir(s, "tutorials/play-with-grafana-mimir/config/mimir.yaml", "mimir.yaml"))
require.NoError(t, copyFileToSharedDir(s, "docs/sources/tutorials/play-with-grafana-mimir/config/mimir.yaml", "mimir.yaml"))

// Start dependencies.
minio := e2edb.NewMinio(9000, blocksBucketName, rulestoreBucketName, alertsBucketName)
Expand Down

0 comments on commit 38ab255

Please sign in to comment.