Last active
October 31, 2016 16:08
-
-
Save pavolloffay/5871903af9dde808b82d6e678d2dd84a to your computer and use it in GitHub Desktop.
Hawkular APM
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
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 \ | |
-Dhawkular-btm.uri=http://localhost:8180/hawkular/btm \ | |
-Dhawkular-btm.config.refresh=10 \ | |
-Dhawkular-btm.username=jdoe \ | |
-Dhawkular-btm.password=password" | |
# wildfly | |
export JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=org.jboss.byteman,org.hawkular.btm.instrumenter,org.hawkular.btm.client.api" | |
REST | |
curl -ivX GET 'http://jdoe:password@localhost:8080/hawkular/apm/analytics/trace/completion/times' | |
Elastic | |
curl 'http://localhost:9200/apm-hawkular/tracecompletiontime/_search?size=99999' | jq '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment