You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/marketplace-docs/guides/django/index.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
2
title: "Deploy Django through the Linode Marketplace"
3
-
description: "Learn how to deploy Django, a web framework that provides much of the core functionality required in modern web development, through the Linode Marketpplace"
3
+
description: "Learn how to deploy Django, a web framework that provides much of the core functionality required in modern web development, through the Linode Marketplace"
The Django Marketplace App will assign `DjangoApp` as the [Django project name](https://docs.djangoproject.com/en/5.0/intro/tutorial01/#creating-a-project).
53
+
The Django Marketplace App will assign `django_sample` as the [Django project name](https://docs.djangoproject.com/en/5.0/intro/tutorial01/#creating-a-project) at `/var/www/django_app/django_sample/`.
54
54
{{< /note >}}
55
55
56
56
1. Open your web browser and navigate to `https://[domain]`, where *[domain]* can be replaced with the custom domain you entered during deployment or your Compute Instance's rDNS domain (such as `192-0-2-1.ip.linodeusercontent.com`). You can also use your IPv4 address. See the [Managing IP Addresses](/docs/products/compute/compute-instances/guides/manage-ip-addresses/) guide for information on viewing IP addresses and rDNS.
57
57
58
+

59
+
58
60
1. Once you have verified that you can access your Django site via the browser, you can log in using the admin credentials generated during the deployment. The credentials can be found in `/home/$USERNAME/.credentials`. Update the address in the browser to: `https://[domain]/admin`.
59
61
60
62

Copy file name to clipboardExpand all lines: docs/marketplace-docs/guides/prometheus-grafana/index.md
+23-7Lines changed: 23 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Deploy Prometheus and Grafana through the Linode Marketplace"
3
3
description: "Deploy Prometheus & Grafana on a Linode Compute Instance. This application provides you with a reliable monitoring solution for all of your infrastructure. "
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.
20
20
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.
22
22
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.
24
26
25
27
## Deploying a Marketplace App
26
28
@@ -34,7 +36,7 @@ Grafana is an analytics and monitoring solution with a focus on accessibility fo
34
36
35
37
## Configuration Options
36
38
37
-
-**Supported distributions:** Ubuntu 22.04 LTS
39
+
-**Supported distributions:** Ubuntu 24.04 LTS
38
40
-**Suggested plan:** All plan types and sizes can be used.
39
41
40
42
### Prometheus and Grafana Options
@@ -47,6 +49,10 @@ Grafana is an analytics and monitoring solution with a focus on accessibility fo
-**Install Loki?**: Select **Yes** to install Loki, a log aggregation system that integrates with Grafana. Select **No** to skip Loki installation.
55
+
50
56
#### Akamai Insights Datasource Plugin (Optional)
51
57
52
58
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.
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.
76
82
77
83
### Obtain the Credentials
78
84
@@ -101,7 +107,7 @@ Once the app has been *fully* deployed, you need to obtain the credentials from
101
107
102
108
To delete this message of the day, use `rm /etc/motd`.
103
109
104
-
1. The `/home/$SUDO_USER/.credentials` file contains the credentials forthe created sudo user, Prometheus, and Grafana, as shownin the example output below:
110
+
1. The `/home/$SUDO_USER/.credentials` file contains the credentials forthe created sudo user, Prometheus, Grafana, and Loki (if installed), as shownin the example output below:
105
111
106
112
```command
107
113
cat /home/$SUDO_USER/.credentials
@@ -114,8 +120,14 @@ Once the app has been *fully* deployed, you need to obtain the credentials from
114
120
Prometheus Password: XnYGi8CTPNKugQhaC9@2nze6
115
121
Grafana Username: admin
116
122
Grafana Password: *qs6.rbpWyb_rwKm3ciFYW82
123
+
Loki Username: loki
124
+
Loki Password: 8Vx!mKp2Yn-HdJ7QzR4s
117
125
```
118
126
127
+
{{< note >}}
128
+
If you did not install Loki, the Loki username and password will not appear in the credentials file.
129
+
{{< /note >}}
130
+
119
131
### Add Prometheus as a Data Source to Grafana
120
132
121
133
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
136
148
137
149
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.
138
150
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
+
139
155
### Akamai Insights Datasource
140
156
141
157
If you added the Akamai Insights Datasource plugin, the data source can be found in the **Data sources** tab.
0 commit comments