-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #1184 - New Demo setup needed for InfluxDB and Jaeger combinat…
…ion (#1186) * updated json for sdg-grafana-panel and added docker compose for influxdb-jaeger combination * preliminary version
- Loading branch information
1 parent
d5e1bd7
commit caa5e45
Showing
4 changed files
with
315 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
INSPECTIT_OCELOT_VERSION=latest | ||
INSPECTIT_OCELOT_VERSION=latest | ||
INSPECTIT_PETCLINIC_VERSION=inspectit-oce-demo-1.0 |
210 changes: 210 additions & 0 deletions
210
inspectit-ocelot-demo/docker-compose-influxdb-jaeger.yml
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,210 @@ | ||
version: '2' | ||
|
||
services: | ||
#Ocelot | ||
## Serves as a collector for traces | ||
agent: | ||
image: inspectit/inspectit-ocelot-agent:${INSPECTIT_OCELOT_VERSION} | ||
container_name: agent | ||
mem_limit: 128M | ||
volumes: | ||
- agent-vol:/agent | ||
|
||
## Fetches the configuration | ||
ocelot-config-server: | ||
image: inspectit/inspectit-ocelot-configurationserver:${INSPECTIT_OCELOT_VERSION} | ||
container_name: ocelot-config-server | ||
mem_limit: 256M | ||
environment: | ||
- INSPECTIT_CONFIG_SERVER_WORKING_DIRECTORY=/configuration-server | ||
- INSPECTIT_CONFIG_SERVER_DEFAULT_USER_PASSWORD=demo | ||
volumes: | ||
- ./configuration-server:/configuration-server | ||
ports: | ||
- 8090:8090 | ||
|
||
#Jaeger | ||
## Collects and visualizes traces | ||
jaeger: | ||
image: jaegertracing/all-in-one:1.25.0 | ||
container_name: jaeger | ||
ports: | ||
- 16686:16686 | ||
|
||
#Petclinic | ||
config-server: | ||
image: inspectit/spring-petclinic-config-server:${INSPECTIT_PETCLINIC_VERSION} | ||
container_name: config-server | ||
environment: | ||
- INSPECTIT_SERVICE_NAME=config-server | ||
- INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration | ||
- INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false | ||
- INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086 | ||
- INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces | ||
mem_limit: 512M | ||
depends_on: | ||
- agent | ||
- ocelot-config-server | ||
entrypoint: ["./dockerize", "java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"] | ||
volumes: | ||
- agent-vol:/agent | ||
ports: | ||
- 8888:8888 | ||
|
||
discovery-server: | ||
image: inspectit/spring-petclinic-discovery-server:${INSPECTIT_PETCLINIC_VERSION} | ||
container_name: discovery-server | ||
environment: | ||
- INSPECTIT_SERVICE_NAME=discovery-server | ||
- INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration | ||
- INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false | ||
- INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086 | ||
- INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces | ||
mem_limit: 512M | ||
depends_on: | ||
- agent | ||
- ocelot-config-server | ||
- config-server | ||
entrypoint: ["./dockerize","-wait=tcp://config-server:8888","-timeout=60s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"] | ||
volumes: | ||
- agent-vol:/agent | ||
ports: | ||
- 8761:8761 | ||
|
||
customers-service: | ||
image: inspectit/spring-petclinic-customers-service:${INSPECTIT_PETCLINIC_VERSION} | ||
container_name: customers-service | ||
environment: | ||
- INSPECTIT_SERVICE_NAME=customers-service | ||
- INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration | ||
- INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false | ||
- INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086 | ||
- INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces | ||
mem_limit: 512M | ||
depends_on: | ||
- agent | ||
- ocelot-config-server | ||
- config-server | ||
- discovery-server | ||
entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=60s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"] | ||
volumes: | ||
- agent-vol:/agent | ||
ports: | ||
- 8081:8081 | ||
|
||
visits-service: | ||
image: inspectit/spring-petclinic-visits-service:${INSPECTIT_PETCLINIC_VERSION} | ||
container_name: visits-service | ||
environment: | ||
- INSPECTIT_SERVICE_NAME=visits-service | ||
- INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration | ||
- INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false | ||
- INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086 | ||
- INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces | ||
mem_limit: 512M | ||
depends_on: | ||
- agent | ||
- ocelot-config-server | ||
- config-server | ||
- discovery-server | ||
entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=60s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"] | ||
volumes: | ||
- agent-vol:/agent | ||
ports: | ||
- 8082:8082 | ||
|
||
vets-service: | ||
image: inspectit/spring-petclinic-vets-service:${INSPECTIT_PETCLINIC_VERSION} | ||
container_name: vets-service | ||
environment: | ||
- INSPECTIT_SERVICE_NAME=vets-service | ||
- INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration | ||
- INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false | ||
- INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086 | ||
- INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces | ||
mem_limit: 512M | ||
depends_on: | ||
- agent | ||
- ocelot-config-server | ||
- config-server | ||
- discovery-server | ||
entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=60s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"] | ||
volumes: | ||
- agent-vol:/agent | ||
ports: | ||
- 8083:8083 | ||
|
||
api-gateway: | ||
image: inspectit/spring-petclinic-api-gateway:${INSPECTIT_PETCLINIC_VERSION} | ||
container_name: api-gateway | ||
environment: | ||
- INSPECTIT_SERVICE_NAME=api-gateway | ||
- INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration | ||
- INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false | ||
- INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086 | ||
- INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces | ||
mem_limit: 512M | ||
depends_on: | ||
- agent | ||
- ocelot-config-server | ||
- config-server | ||
- discovery-server | ||
entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=60s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"] | ||
volumes: | ||
- agent-vol:/agent | ||
ports: | ||
- 8080:8080 | ||
|
||
admin-server: | ||
image: inspectit/spring-petclinic-admin-server:inspectit-oce-demo-1.0 | ||
container_name: admin-server | ||
mem_limit: 512M | ||
depends_on: | ||
- config-server | ||
- discovery-server | ||
entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=60s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"] | ||
volumes: | ||
- agent-vol:/agent | ||
ports: | ||
- 9090:9090 | ||
|
||
|
||
#InfluxDB | ||
## Time Series Database | ||
influxdb: | ||
image: influxdb:1.8 | ||
container_name: influxdb | ||
environment: | ||
- INFLUXDB_HTTP_FLUX_ENABLED=true | ||
- INFLUXDB_HTTP_LOG_ENABLED=false | ||
- INFLUXDB_DATA_QUERY_LOG_ENABLED=false | ||
mem_limit: 512M | ||
volumes: | ||
- ./influx:/docker-entrypoint-initdb.d | ||
ports: | ||
- 8086:8086 | ||
|
||
#Grafana | ||
## Dashboarding | ||
grafana: | ||
image: grafana/grafana:8.0.6 | ||
container_name: grafana | ||
environment: | ||
- GF_SECURITY_ADMIN_PASSWORD=demo | ||
- GF_PATHS_PROVISIONING=/usr/share/grafana/custom/ | ||
- GF_INSTALL_PLUGINS=https://github.com/NovatecConsulting/novatec-service-dependency-graph-panel/releases/download/v4.0.2/novatec-sdg-panel.zip;novatec-sdg-panel | ||
volumes: | ||
- ./grafana/provisioning/influxdb:/usr/share/grafana/custom/ | ||
ports: | ||
- 3001:3000 | ||
|
||
## Artificial load on Demo | ||
load: | ||
image: inspectit/spring-petclinic-load:1.0 | ||
container_name: load-generator | ||
hostname: load-generator | ||
|
||
|
||
|
||
volumes: | ||
agent-vol: |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.