Skip to content

Instantly share code, notes, and snippets.

@kevtainer
Last active October 21, 2018 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kevtainer/7bfb6e4c0316eff03a1f0062452fd0da to your computer and use it in GitHub Desktop.
Save kevtainer/7bfb6e4c0316eff03a1f0062452fd0da to your computer and use it in GitHub Desktop.
Opentracing Workshop

Here lives things you'll need to copy/paste, click, etc.

Initial Cluster Configuration

Gitlab (source)

docker run --rm -it -v "$HOME/.kube:/root/.kube" \
  registry.gitlab.com/opentracing-workshop/build-tools:latest setup-cluster

Gitlab Settings

Gitlab (source)

docker run --rm -it -v "$HOME/.kube:/root/.kube" \
  registry.gitlab.com/opentracing-workshop/build-tools:latest \
  get-gitlab-settings deploy --namespace=spc > gitlab-creds.txt

Spring Petclinic Microservice App

Gitlab (source)

Monitoring Tools Setup Script

docker run --rm -it -v "$HOME/.kube:/root/.kube" \
  registry.gitlab.com/opentracing-workshop/build-tools setup-monitoring

Gitlab (source)

Prometheus Fix

label_values(jvm_memory_used_bytes{application="$application", instance="$instance"}, pod)

Spring Pet Clinic Custom Dashboard

Gist (source)


Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment