diff --git a/README.md b/README.md new file mode 100644 index 0000000..787eb61 --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ + +# ビルド + +``` +$ ./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 +``` + +