Skip to content

Instantly share code, notes, and snippets.


Pavol Loffay pavolloffay

Block or report user

Report or block pavolloffay

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ovirt-fedora
virt-builder centos-7.4 --root-password password:nolamavaio --size=15G --ssh-inject=root --format=qcow2 -o centos74.qcow2
sudo virt-install --import --disk centos74.qcow2 --memory 10000 --name oc-test --cpu core2duo,+x2apic,disable=vmx
virsh destroy oc-test
virsh undefine oc-test --managed-save
virsh shutdown oc-test
virsh start oc-test
pavolloffay /
Last active Dec 12, 2018
Guidelines for Jaeger installer on OpenShift
  1. download istiooc binary
  2. run ./istiooc_linux cluster up --istio=true

Change openshift-ansible and reflect changes in OC cluster

Build and tag the image brefore running oc cluster up so it can be consumed from local registry.

  1. build modified ansible image cd openshift-ansible && docker build -f images/installer/Dockerfile.istio -t openshiftistio/origin-ansible .
  2. remove/rename the old image docker rmi <sha>
  3. tag new image appropriately docker tag 17fece18c5ca openshiftistio/origin-ansible:<> the version is usually the same as istiooc
pavolloffay /
Created Feb 13, 2018 — forked from jshcrowthe/
Installing Oh My ZSH oh Fedora (2015 CIT 325 Image)

Installing oh-my-zsh on Fedora (for DB class images)

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.


Installing ZSH (using yum)

The first step for this install is getting zsh we will do this via yum. From your terminal:

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());
pavolloffay /
Last active Feb 2, 2018
public class HelloController {
private RestTemplate restTemplate;
@RequestMapping(value = "/hello")
public String hello() {
return "Hello from Spring Boot!";

This readme describes how to configure Jaeger storages and various Jaeger services.


This section describes how to configure Jaeger with Cassandra storage

Run Cassandra with ccm

# create one node cassandra
ccm create test -v 3.11.0 -n 1 -s
pavolloffay / kubernetes
Last active Oct 4, 2019
kubernetes, gcloud, minikube
View kubernetes
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
View Hawkular APM
target/hawkular-btm-dist-0.8.1.Final-SNAPSHOT/bin/ --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/ --debug -Djboss.socket.binding.port-offset=100
source ~/projects/hawkular/hawkular-btm/dist/target/hawkular-btm-dist-0.8.1.Final-SNAPSHOT/btm/
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 \
You can’t perform that action at this time.