This readme describes how to configure Jaeger storages and various Jaeger services.
This section describes how to configure Jaeger with Cassandra storage
https://github.com/pcmanus/ccm
# create one node cassandra
ccm create test -v 3.11.0 -n 1 -s
#The MIT License (MIT) | |
# | |
#Copyright (c) 2015 Andre Queiroz | |
# | |
#Permission is hereby granted, free of charge, to any person obtaining a copy | |
#of this software and associated documentation files (the "Software"), to deal | |
#in the Software without restriction, including without limitation the rights | |
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
#copies of the Software, and to permit persons to whom the Software is | |
#furnished to do so, subject to the following conditions: |
target/hawkular-btm-dist-0.8.1.Final-SNAPSHOT/bin/standalone.sh --debug -Dkeycloak.import=target/hawkular-btm-dist-0.8.1.Final-SNAPSHOT/standalone/configuration/hawkular-realm-for-dev.json -Djboss.socket.binding.port-offset=100 -Dkeycloak.server.url=http://localhost:8180/auth | |
# jdoe:password | |
dist/target/hawkular-btm-dist-0.8.1.Final-SNAPSHOT/bin/standalone.sh --debug -Djboss.socket.binding.port-offset=100 | |
source ~/projects/hawkular/hawkular-btm/dist/target/hawkular-btm-dist-0.8.1.Final-SNAPSHOT/btm/setenv.sh | |
export BTM_AGENT_JAR_PATH=/home/pavol/projects/hawkular/hawkular-btm/dist/target/hawkular-btm-dist-0.8.1.Final-SNAPSHOT/btm/hawkular-btm-agent-rest.jar | |
export JAVA_OPTS="-javaagent:$BTM_AGENT_JAR_PATH \ |
atom |
minikube start --vm=kvm | |
minikube stop | |
minikube delete | |
minikube service jaeger-all-in-one | |
# Google Cloud | |
gcloud auth application-default login | |
gcloud auth activate-service-account --key-file client-secret.json | |
gcloud auth revoke | |
gcloud projects list |
This readme describes how to configure Jaeger storages and various Jaeger services.
This section describes how to configure Jaeger with Cassandra storage
https://github.com/pcmanus/ccm
# create one node cassandra
ccm create test -v 3.11.0 -n 1 -s
minishift start --memory 7gb
Requires sb-snowdrop parent snowdrop/spring-boot-bom#10 build locally https://github.com/redhat-developer-demos/brewery
./mvnw -Dfabric8.mode=kubernetes clean fabric8:deploy
@RestController | |
public class HelloController { | |
@Autowired | |
private RestTemplate restTemplate; | |
@RequestMapping(value = "/hello") | |
public String hello() { | |
return "Hello from Spring Boot!"; | |
} |
@Bean | |
public io.opentracing.Tracer jaegerTracer() { | |
Builder builder = new Builder("spring-boot", | |
new RemoteReporter(new HttpSender("http://jaeger-collector.istio-system:14268/api/traces"), 10, | |
65000, new Metrics(new StatsFactoryImpl(new NullStatsReporter()))), | |
new ConstSampler(true)) | |
.registerInjector(Builtin.HTTP_HEADERS, new B3TextMapCodec()) | |
.registerExtractor(Builtin.HTTP_HEADERS, new B3TextMapCodec()); | |
return builder.build(); | |
} |
Oh-my-zsh is an extension of the traditional z shell that is extensible via community created plugins (Plugins found here: oh-my-zsh github repo). It is, in my opinion, a breath of fresh air in comparison to the traditional bash shell.
DO THE FOLLOWING IN ORDER
The first step for this install is getting zsh
we will do this via yum. From your terminal:
istiooc
binary https://github.com/openshift-istio/origin/releases./istiooc_linux cluster up --istio=true
Build and tag the image brefore running oc cluster up
so it can be consumed from local registry.
cd openshift-ansible && docker build -f images/installer/Dockerfile.istio -t openshiftistio/origin-ansible .
docker rmi <sha>
docker tag 17fece18c5ca openshiftistio/origin-ansible:<>
the version is usually the same as istiooc