yhornisse authored on 22 Oct
.gradle fix percentile sample 6 months ago
.idea fix percentile sample 6 months ago
build/classes/java/main/com/ sample fix percentile sample 6 months ago
gradle/ wrapper add files 2 years ago
src/main/java/com/ sample fix percentile sample 6 months ago
README.md add files 2 years ago
build.gradle add files 2 years ago
gradlew add files 2 years ago
gradlew.bat add files 2 years ago
settings.gradle add files 2 years ago
README.md

ビルド

$ ./gradlew bootJar

起動

  • 起動
    $ ./gradlew bootRun
  • jar起動
    $ java -jar build/libs/sample-prometheus1-0.0.1.jar

サンプルアクセス

$ curl http://localhost:8080/sample/prometheus
# HELP hoge_counter_total  
# TYPE hoge_counter_total counter
hoge_counter_total{group="A",sub_group="B",} 0.0