chore(deps): update prom/prometheus docker tag to v2.55.0 (#2354)

* chore(deps): update prom/prometheus docker tag to v2.55.0

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
This commit is contained in:
renovate[bot]
2024-10-24 11:10:38 +08:00
committed by GitHub
co-authored by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> github-action update-app-version
parent 8620eca14d
commit ecb1511869
5 changed files with 1 additions and 1 deletions
@@ -0,0 +1,25 @@
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# - alertmanager:9093
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'
static_configs:
- targets: [ 'localhost:9090' ]
+10
View File
@@ -0,0 +1,10 @@
additionalProperties:
formFields:
- default: 9090
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: Web 端口
required: true
rule: paramPort
type: number
+23
View File
@@ -0,0 +1,23 @@
services:
clickhouse:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:9090"
volumes:
- ./conf:/etc/prometheus/
- ./prometheus:/prometheus
image: prom/prometheus:v2.55.0
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/etc/prometheus/console_libraries'
- '--web.console.templates=/etc/prometheus/consoles'
- '--storage.tsdb.retention=200h'
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
chmod -R 777 prometheus