# \[Prometheus\] Monitoring system and time series database

**URL:** https://forum.yunohost.org/t/prometheus-monitoring-system-and-time-series-database/16353
**Category:** Apps
**Tags:** prometheus, french, english
**Created:** [June 25, 2021, 10:00am UTC](https://forum.yunohost.org/t/prometheus-monitoring-system-and-time-series-database/16353 "2021-06-25T10:00:11Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)
#### Post date: [June 25, 2021, 10:00am UTC](https://forum.yunohost.org/t/prometheus-monitoring-system-and-time-series-database/16353/1 "2021-06-25T10:00:12Z")

</div>

# Prometheus for YunoHost

[![Integration level](https://dash.yunohost.org/integration/prometheus.svg)](https://dash.yunohost.org/appci/app/prometheus) ![](https://ci-apps.yunohost.org/ci/badges/prometheus.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/prometheus.maintain.svg)  
[![Install Prometheus with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=prometheus)

 ![image](https://forum.yunohost.org/uploads/default/original/2X/e/e58d4e1caf8ee9dec1f442e397980a905d419582.png) _Version française dans le message suivant._

> _This package allows you to install Prometheus quickly and simply on a YunoHost server.  
> If you don’t have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it._

## Overview

Monitoring system and time series database

**Shipped version:** 2.28.0~ynh1

**Demo:** [https://demo.do.prometheus.io](https://demo.do.prometheus.io)

## Disclaimers / important information

- Port assigned to the app can be read in `/etc/yunohost/apps/prometheus/settings.yml`  
or within CLI with `yunohost app info prometheus --full`
- The app is configurable within the file `/opt/yunohost/prometheus/prometheus.yml`, then reboot the app service.

## Documentation and resources

- Official app website: [https://prometheus.io](https://prometheus.io)
- Official admin documentation: [Overview | Prometheus](https://prometheus.io/docs)
- Upstream app code repository: [GitHub - prometheus/prometheus: The Prometheus monitoring system and time series database.](https://github.com/prometheus/prometheus)
- YunoHost documentation for this app: [https://yunohost.org/app\_prometheus](https://yunohost.org/app_prometheus)
- Report a bug: [GitHub · Where software is built](https://github.com/YunoHost-Apps/prometheus_ynh/issues)

## Developer info

Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/prometheus_ynh/tree/testing).

To try the testing branch, please proceed like that.

```auto
sudo yunohost app install https://github.com/YunoHost-Apps/prometheus_ynh/tree/testing --debug
or
sudo yunohost app upgrade prometheus -u https://github.com/YunoHost-Apps/prometheus_ynh/tree/testing --debug

```

**More info regarding app packaging:** [https://yunohost.org/packaging\_apps](https://yunohost.org/packaging_apps)

---

<div class="post-metadata">

### Author: ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)
#### Post date: [June 25, 2021, 10:00am UTC](https://forum.yunohost.org/t/prometheus-monitoring-system-and-time-series-database/16353/2 "2021-06-25T10:00:23Z")

</div>

# Prometheus pour YunoHost

[![Niveau d'intégration](https://dash.yunohost.org/integration/prometheus.svg)](https://dash.yunohost.org/appci/app/prometheus) ![](https://ci-apps.yunohost.org/ci/badges/prometheus.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/prometheus.maintain.svg)  
[![Installer Prometheus avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=prometheus)

_Read this readme in english._  
_Lire ce readme en français._

> _Ce package vous permet d’installer Prometheus rapidement et simplement sur un serveur YunoHost.  
> Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter._

## Vue d’ensemble

Supervision chronologique de systèmes et services

**Version incluse :** 2.28.0~ynh1

**Démo :** [https://demo.do.prometheus.io](https://demo.do.prometheus.io)

## Avertissements / informations importantes

- Le port assigné à l’app est consultable dans `/etc/yunohost/apps/prometheus/settings.yml`  
ou avec la commande `yunohost app info prometheus --full`
- L’app est configurable dans le fichier `/opt/yunohost/prometheus/prometheus.yml`,  
ensuite redémarrez le service de l’app.

## Documentations et ressources

- Site officiel de l’app : [https://prometheus.io](https://prometheus.io)
- Documentation officielle de l’admin : [Overview | Prometheus](https://prometheus.io/docs)
- Dépôt de code officiel de l’app : [GitHub - prometheus/prometheus: The Prometheus monitoring system and time series database.](https://github.com/prometheus/prometheus)
- Documentation YunoHost pour cette app : [https://yunohost.org/app\_prometheus](https://yunohost.org/app_prometheus)
- Signaler un bug : [GitHub · Where software is built](https://github.com/YunoHost-Apps/prometheus_ynh/issues)

## Informations pour les développeurs

Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/prometheus_ynh/tree/testing).

Pour essayer la branche testing, procédez comme suit.

```auto
sudo yunohost app install https://github.com/YunoHost-Apps/prometheus_ynh/tree/testing --debug
ou
sudo yunohost app upgrade prometheus -u https://github.com/YunoHost-Apps/prometheus_ynh/tree/testing --debug

```

**Plus d’infos sur le packaging d’applications :** [https://yunohost.org/packaging\_apps](https://yunohost.org/packaging_apps)

---

<div class="post-metadata">

### Author: ![lydra](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/94ad74/32.png) [@lydra](https://forum.yunohost.org/u/lydra)
#### Post date: [October 14, 2022, 7:31am UTC](https://forum.yunohost.org/t/prometheus-monitoring-system-and-time-series-database/16353/3 "2022-10-14T07:31:37Z")

</div>

Hello.  
Thanks for this packaged Prometheus for YunoHost!  
I was wondering, why did you choose to change the default port to 9091? Do you know if there is a way to revert this change to 9090?

---

<div class="post-metadata">

### Author: ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)
#### Post date: [October 15, 2022, 9:15pm UTC](https://forum.yunohost.org/t/prometheus-monitoring-system-and-time-series-database/16353/4 "2022-10-15T21:15:38Z")

</div>

I did not: [prometheus\_ynh/install at 77a9075ec9d5b935e1825f95aef56bb4a5e959d6 · YunoHost-Apps/prometheus\_ynh · GitHub](https://github.com/YunoHost-Apps/prometheus_ynh/blob/77a9075ec9d5b935e1825f95aef56bb4a5e959d6/scripts/install#L61)

What most likely happened is that your server was already using port 9090, so the helper mentioned above found the next available port, 9091.

---

<div class="post-metadata">

### Author: ![lydra](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/94ad74/32.png) [@lydra](https://forum.yunohost.org/u/lydra)
#### Post date: [October 17, 2022, 7:38am UTC](https://forum.yunohost.org/t/prometheus-monitoring-system-and-time-series-database/16353/5 "2022-10-17T07:38:17Z")

</div>

Okay that’s quite weird. I was surprised myself when I saw that. Thanks for your answer 😉

---

<div class="post-metadata">

### Author: ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)
#### Post date: [April 9, 2025, 3:25pm UTC](https://forum.yunohost.org/t/prometheus-monitoring-system-and-time-series-database/16353/6 "2025-04-09T15:25:05Z")

</div>

The api publicly available. When I add basic authentication following this guide [Basic auth | Prometheus](https://prometheus.io/docs/guides/basic-auth/) I get a not found response and in the prometheus log there is `http: TLS handshake error `  
I have added certificates to web.yml and changed http to https in the nginx config `proxy_pass https://127.0.0.1:9090;`

Still failing.  
Any idea how to get basic authentication to work?

Edit : using [https://127.0.0.1:9090/prometheus](https://127.0.0.1:9090/prometheus) as url works with authentication.
