Skip to content

Commit 93bdacd

Browse files
update prometheus grafana marketplace app documentation to include optional loki install (#7340)
1 parent ee7f9bf commit 93bdacd

File tree

1 file changed

+23
-7
lines changed
  • docs/marketplace-docs/guides/prometheus-grafana

1 file changed

+23
-7
lines changed

docs/marketplace-docs/guides/prometheus-grafana/index.md

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Deploy Prometheus and Grafana through the Linode Marketplace"
33
description: "Deploy Prometheus & Grafana on a Linode Compute Instance. This application provides you with a reliable monitoring solution for all of your infrastructure. "
44
published: 2022-03-29
5-
modified: 2024-10-15
5+
modified: 2025-09-30
66
keywords: ['monitoring','observability']
77
tags: ["marketplace", "linode platform", "cloud manager"]
88
external_resources:
@@ -16,11 +16,13 @@ marketplace_app_id: 985364
1616
marketplace_app_name: "Prometheus & Grafana"
1717
---
1818

19-
This Marketplace App installs both [Prometheus](https://prometheus.io/) and [Grafana](https://grafana.com/oss/grafana/), two open source tools that are commonly used together to collect and view data.
19+
This Marketplace App installs both [Prometheus](https://prometheus.io/) and [Grafana](https://grafana.com/oss/grafana/), two open source tools that are commonly used together to collect and view data. Optionally, you can also install [Loki](https://grafana.com/oss/loki/), a log aggregation system designed to work seamlessly with Grafana.
2020

21-
Use Prometheus to collect metrics and receive alerts. Prometheus monitors targets that you define at given intervals by scraping their metrics HTTP endpoints. This tool is particularly well-suited for numeric time series data, which makes it ideal for machine-centric monitoring as well as monitoring of highly dynamic service-oriented architectures.
21+
**Prometheus** is used to collect metrics and receive alerts. Prometheus monitors targets that you define at given intervals by scraping their metrics HTTP endpoints. This tool is particularly well-suited for numeric time series data, which makes it ideal for machine-centric monitoring as well as monitoring of highly dynamic service-oriented architectures.
2222

23-
Grafana is an analytics and monitoring solution with a focus on accessibility for metric visualization. You can use Grafana to create, monitor, store, and share metrics with your team to keep tabs on your infrastructure. Grafana is very lightweight and does not use a lot of memory and CPU resources.
23+
**Grafana** is an analytics and monitoring solution with a focus on accessibility for metric visualization. You can use Grafana to create, monitor, store, and share metrics with your team to keep tabs on your infrastructure. Grafana is very lightweight and does not use a lot of memory and CPU resources.
24+
25+
**Loki** (optional) is a log aggregation and storage system inspired by Prometheus. It is designed to be cost-effective and easy to operate, as it does not index the contents of the logs, but rather a set of labels for each log stream. When installed, Loki is automatically configured as a data source in Grafana.
2426

2527
## Deploying a Marketplace App
2628

@@ -34,7 +36,7 @@ Grafana is an analytics and monitoring solution with a focus on accessibility fo
3436

3537
## Configuration Options
3638

37-
- **Supported distributions:** Ubuntu 22.04 LTS
39+
- **Supported distributions:** Ubuntu 24.04 LTS
3840
- **Suggested plan:** All plan types and sizes can be used.
3941

4042
### Prometheus and Grafana Options
@@ -47,6 +49,10 @@ Grafana is an analytics and monitoring solution with a focus on accessibility fo
4749

4850
{{% content "marketplace-special-character-limitations-shortguide" %}}
4951

52+
#### Loki Log Aggregation (Optional)
53+
54+
- **Install Loki?**: Select **Yes** to install Loki, a log aggregation system that integrates with Grafana. Select **No** to skip Loki installation.
55+
5056
#### Akamai Insights Datasource Plugin (Optional)
5157

5258
If your Akamai account contract has **Reporting** enabled, you can take advantage of the **[Akamai Reporting API V2](https://techdocs.akamai.com/reporting/v2/reference/api)**. This allows you to expose data to monitor traffic and analyze patterns and long-term trends directly in Grafana.
@@ -72,7 +78,7 @@ Akamai's Grafana Datasource plugin uses [Grafana's Plugin tools](https://github.
7278

7379
### Access Grafana and Prometheus
7480

75-
To access the front end interfaces for either Grafana or Prometheus, first [obtain the credentials](#obtain-the-credentials). Then, open your web browser and navigate to the *Location* URL of the app you wish to access. In the login prompt that appears, enter the username and password as shown in the *credentials.txt* file.
81+
To access the front end interfaces for Grafana and Prometheus, first [obtain the credentials](#obtain-the-credentials). Then, open your web browser and navigate to the *Location* URL of the app you wish to access. In the login prompt that appears, enter the username and password as shown in the credentials file.
7682

7783
### Obtain the Credentials
7884

@@ -101,7 +107,7 @@ Once the app has been *fully* deployed, you need to obtain the credentials from
101107

102108
To delete this message of the day, use `rm /etc/motd`.
103109

104-
1. The `/home/$SUDO_USER/.credentials` file contains the credentials for the created sudo user, Prometheus, and Grafana, as shown in the example output below:
110+
1. The `/home/$SUDO_USER/.credentials` file contains the credentials for the created sudo user, Prometheus, Grafana, and Loki (if installed), as shown in the example output below:
105111

106112
```command
107113
cat /home/$SUDO_USER/.credentials
@@ -114,8 +120,14 @@ Once the app has been *fully* deployed, you need to obtain the credentials from
114120
Prometheus Password: XnYGi8CTPNKugQhaC9@2nze6
115121
Grafana Username: admin
116122
Grafana Password: *qs6.rbpWyb_rwKm3ciFYW82
123+
Loki Username: loki
124+
Loki Password: 8Vx!mKp2Yn-HdJ7QzR4s
117125
```
118126

127+
{{< note >}}
128+
If you did not install Loki, the Loki username and password will not appear in the credentials file.
129+
{{< /note >}}
130+
119131
### Add Prometheus as a Data Source to Grafana
120132

121133
1. Log in to the Grafana front end. See [Access Grafana and Prometheus](#access-grafana-and-prometheus).
@@ -136,6 +148,10 @@ Once the app has been *fully* deployed, you need to obtain the credentials from
136148
137149
Now that the Prometheus Data Source is set, you can browse the [available Grafana dashboards](https://grafana.com/grafana/dashboards/) to see which dashboard fits your needs. Review the official [Prometheus](https://prometheus.io/docs/introduction/overview/) and [Grafana](https://grafana.com/docs/grafana/latest/) documentation to learn how to further use your instance.
138150
151+
### Configure Loki for Log Collection (If Installed)
152+
153+
If you installed Loki during deployment, it is automatically configured as a data source in Grafana. To send logs from your applications and systems to Loki, you need to install and configure a log collection agent, such as [Grafana Alloy](https://grafana.com/docs/alloy/latest/), on the client systems.
154+
139155
### Akamai Insights Datasource
140156
141157
If you added the Akamai Insights Datasource plugin, the data source can be found in the **Data sources** tab.

0 commit comments

Comments
 (0)