Skip to content

Commit 8d175af

Browse files
committed
add solr / node exporter, fix horizontal scrollbar on small width
1 parent 46f3073 commit 8d175af

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

docker-compose.override.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ services:
1919
entrypoint: ["echo", "nginx disabled in dev"]
2020
prometheus:
2121
entrypoint: ["echo", "prometheus disabled in dev"]
22+
solr_exporter:
23+
entrypoint: ["echo", "solr_exporter disabled in dev"]

docker-compose.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ services:
1111
retries: 10
1212
command: ["solr-precreate", "scmindex", "/scmindex"]
1313

14+
solr_exporter:
15+
image: "solr:8"
16+
entrypoint:
17+
- "/opt/solr/contrib/prometheus-exporter/bin/solr-exporter"
18+
- "-b"
19+
- "http://solr:8983/solr"
20+
- "-f"
21+
- "/opt/solr/contrib/prometheus-exporter/conf/solr-exporter-config.xml"
22+
1423
app:
1524
build: .
1625
depends_on:

prometheus.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ scrape_configs:
44
- job_name: nginx
55
static_configs:
66
- targets: ['prometheus_exporter:9113']
7+
- job_name: node
8+
static_configs:
9+
- targets: ['host.docker.internal:9100']
10+
- job_name: solr
11+
static_configs:
12+
- targets: ['solr_exporter:9983']

static/css/scmindex.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ nav {
4949
.restapi-page {
5050
background-color: var(--bg-color2);
5151
max-width: 960px;
52-
width: 100%;
5352
padding: 20px;
5453
display: flex;
5554
flex-direction: column;

0 commit comments

Comments
 (0)