Skip to content

Commit

Permalink
add prometheus. (apache#2580)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredTan95 authored May 5, 2019
1 parent e355547 commit 4da0f48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions oap-server/server-starter/src/main/assembly/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,7 @@ alarm:
default:
telemetry:
none:
#exporter:
# grpc:
# targetHost: ${SW_EXPORTER_GRPC_HOST:127.0.0.1}
# targetPort: ${SW_EXPORTER_GRPC_PORT:9870}
6 changes: 4 additions & 2 deletions oap-server/server-starter/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ alarm:
default:
telemetry:
prometheus:
host: ${SW_TELEMETRY_PROMETHEUS_HOST:0.0.0.0}
port: ${SW_TELEMETRY_PROMETHEUS_PORT:1234}
#exporter:
# grpc:
# targetHost: 127.0.0.1
# targetPort: 9870
# targetHost: ${SW_EXPORTER_GRPC_HOST:127.0.0.1}
# targetPort: ${SW_EXPORTER_GRPC_PORT:9870}

0 comments on commit 4da0f48

Please sign in to comment.