GOROOT=/home/ploffay/bin/go #gosetup GOPATH=/home/ploffay/projects/golang #gosetup /home/ploffay/bin/go/bin/go build -o /tmp/___go_build_main_go /home/ploffay/projects/golang/src/github.com/pavolloffay/github-changelog/cmd/main.go #gosetup /tmp/___go_build_main_go #gosetup getting pulls getting pulls getting pulls getting pulls getting pulls getting pulls
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
[ | |
{ | |
"_id": "AWYWCtQZezvXAqIiUTRh", | |
"_type": "dashboard", | |
"_source": { | |
"title": "demo-dashboard", | |
"hits": 0, | |
"description": "", | |
"panelsJSON": "[{\"col\":1,\"id\":\"AWYWClB3ezvXAqIiUTQo\",\"panelIndex\":1,\"row\":1,\"size_x\":6,\"size_y\":3,\"type\":\"visualization\"},{\"col\":7,\"id\":\"AWYWC5A-ezvXAqIiUTSc\",\"panelIndex\":2,\"row\":4,\"size_x\":6,\"size_y\":3,\"type\":\"visualization\"},{\"size_x\":6,\"size_y\":3,\"panelIndex\":3,\"type\":\"visualization\",\"id\":\"AWYWDjk2ezvXAqIiUTWZ\",\"col\":1,\"row\":4},{\"size_x\":6,\"size_y\":3,\"panelIndex\":4,\"type\":\"visualization\",\"id\":\"AWYWEU_YezvXAqIiUTzQ\",\"col\":7,\"row\":1}]", | |
"optionsJSON": "{\"darkTheme\":false}", |
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
# curator --config plugin/storage/es/curator.yml plugin/storage/es/ | |
actions: | |
1: | |
action: create_index | |
description: Create archive index. | |
options: | |
name: jaeger-span-archive-000001 | |
continue_if_exception: False | |
disable_action: False | |
2: |
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
@Traced | |
@ApplicationScoped | |
public class ConversationService { | |
@Inject | |
@RestClient | |
private GreetingService greetingService; | |
public String talk() { | |
return greetingService.hello() + " -> " + greetingService.bonjour(); |
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
""" | |
Note: There are several variations to do the same thing (see # or). The idea | |
is to choose the best (one or so) of the variations and implement that. I.E. | |
these are different designs possibilities for the API. | |
""" | |
""" | |
Filtering | |
""" |
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
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
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
cat <<EOF | kubectl apply -f - | |
apiVersion: jaegertracing.io/v1 | |
kind: Jaeger | |
metadata: | |
name: simple-prod | |
spec: | |
strategy: production | |
storage: | |
type: elasticsearch | |
options: |
This file has been truncated, but you can view the full file.
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
java.lang.Exception: Event onLoad failed for instrument class com.oracle.truffle.tools.agentscript.impl.AgentScriptInstrument and listener/factory com.oracle.truffle.tools.agentscript.impl.AgentObject$1@7fac1c65f790. | |
at com.oracle.truffle.api.instrumentation.ProbeNode.exceptionEventForClientInstrument(ProbeNode.java:649) | |
at com.oracle.truffle.api.instrumentation.InstrumentationHandler.notifySourceBindingLoaded(InstrumentationHandler.java:877) | |
at com.oracle.truffle.api.instrumentation.InstrumentationHandler.notifySourceBindingsLoaded(InstrumentationHandler.java:865) | |
at com.oracle.truffle.api.instrumentation.InstrumentationHandler.onLoad(InstrumentationHandler.java:209) | |
at com.oracle.truffle.api.instrumentation.InstrumentAccessor$InstrumentImpl.onLoad(InstrumentAccessor.java:174) | |
at com.oracle.truffle.api.impl.TVMCI.onLoad(TVMCI.java:154) | |
at org.graalvm.compiler.truffle.runtime.GraalTVMCI.onLoad(GraalTVMCI.java:92) | |
at org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.createClonedCallTarget(GraalT |
This issue contains my knowledge of SearchGuard configuration in image https://github.com/openshift/origin-aggregated-logging/tree/master/elasticsearch/sgconfig. Which is then used in https://github.com/openshift/elasticsearch-operator.
SearchGuard is configured in these files:
sg_action_groups.yml
- ES privileges https://www.elastic.co/guide/en/shield/2.2/privileges-list.html mapped into SG groups . Note that there are cluster and index privileges. These grous are then used insg_roles.yml
sg_roles.yml
- maps users with action groups - e.g.jaeger
canREAD
sg_roles_mapping.yml
- maps users/roles to authentication types
Curator will be authenticated via certificates: