forked from micrometer-metrics/micrometer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update grafana/prometheus scripts to latest docker tags, move Spring …
…integration sample to its own sample project
- Loading branch information
Jon Schneider
committed
Apr 15, 2020
1 parent
4c22298
commit 259f23b
Showing
9 changed files
with
42 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
samples/micrometer-samples-spring-integration/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
plugins { | ||
id "io.spring.dependency-management" version "1.0.3.RELEASE" | ||
} | ||
|
||
dependencyManagement { | ||
imports { | ||
mavenBom 'org.springframework.boot:spring-boot-dependencies:2.2.6.RELEASE' | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation project(":micrometer-core") | ||
implementation project(":micrometer-registry-prometheus") | ||
|
||
implementation 'org.springframework.boot:spring-boot-starter-web' | ||
implementation('org.springframework.boot:spring-boot-starter-actuator') { | ||
exclude group: 'io.micrometer', module: 'micrometer-core' | ||
} | ||
implementation 'org.springframework.integration:spring-integration-ws' | ||
implementation 'org.springframework.integration:spring-integration-xml' | ||
|
||
// For running on Java 9+ | ||
runtimeOnly 'javax.xml.soap:javax.xml.soap-api:1.4.0' | ||
runtimeOnly 'com.sun.xml.messaging.saaj:saaj-impl:1.5.1' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: 1 | ||
|
||
datasources: | ||
- name: prometheus | ||
type: prometheus | ||
access: direct | ||
url: http://10.200.10.1:9090 | ||
isDefault: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#!/usr/bin/env bash | ||
docker run -i -p 3001:3000 grafana/grafana:5.1.0 | ||
#!/bin/sh | ||
docker run -i -p 3000:3000 \ | ||
-v $(pwd)/grafana-datasource.yml:/etc/grafana/provisioning/datasources/grafana-datasource.yml \ | ||
grafana/grafana:6.7.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/usr/bin/env bash | ||
docker run -p 9090:9090 \ | ||
-v $(pwd)/prometheus.yml:/etc/prometheus/prometheus.yml \ | ||
-v $(pwd)/prometheus_rules.yml:/etc/prometheus/prometheus_rules.yml \ | ||
prom/prometheus:v2.2.0 | ||
prom/prometheus:v2.17.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters