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
$client = new Zend_Http_Client('http://example.org'); | |
$client->setHeaders('X-Trace', oboe_get_context()); | |
$response = $client->request(); | |
oboe_set_context($response->getHeader('X-Trace')); |
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
ubuntu@ip-192-168-0-246:~$ cat supervisord.conf | |
[supervisord] | |
nodaemon=true | |
[program:tracelyzer] | |
command=/etc/init.d/tracelyzer start -D | |
[program:apache2] | |
command=/usr/sbin/apache2 -DFOREGROUND |
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
var tv = require('traceview'); | |
tv.traceMode = 'always'; | |
var express = require('express'); | |
var app = express(); | |
var cb0 = function (req, res, next){ | |
console.log('cb0'); | |
next(); |
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
import oboe | |
from oboeware import loader | |
loader.load_inst_modules() | |
oboe.config['tracing_mode'] = 'always' | |
#start a trace | |
oboe.start_trace('Backend', keys=None, xtr=None) | |
# Do some 'work' |
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
<html> | |
<head> | |
<script type="text/javascript" src="http://d1g52r1j47671p.cloudfront.net/spa-timing.js"></script> | |
<script type ='text/javascript'> | |
//define Your RUM key | |
var key = 'Your_key_here'; | |
//Define the tracer and appName | |
var tracer = new Tracer({ | |
rumKey: key, |
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
//instructions for instrumenting a tomcat app and adding custom instrumentation | |
apt-get update | |
//Install the needfull java stuff | |
apt-get install -y tomcat6 ant openjdk-7-jdk | |
//install traceview base package | |
wget files.appneta.. yada yada yada | |
//install java instrumentation |
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
/** | |
* The HelloTrace class is an example of how to instrument a non-servlet java application | |
* simply traces "Hello World!" to standard output. | |
*/ | |
//import the tracelytics-api.jar (/usr/local/tracelytics/tracelytics-api.jar) | |
import com.tracelytics.api.ext.*; | |
class HelloTrace { | |
public static void main(String[] args) { | |
//Start a trace (In a servlet, we do this automatically at the start of the request) |
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
{ | |
"agent.logging":"info", | |
"agent.tracingMode":"always", | |
"agent.traceAjax":false, | |
"agent.jdbcInstAll":false, | |
"agent.jdbcInstParams":true, | |
"agent.jdbcSanitize":0, | |
"monitor.jmx.interval":30000, | |
"monitor.jmx.scopes": |
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
; Configuration file for AppNeta TraceView PHP instrumentation via the | |
; `oboe.so` extension. For help configuring the extension, please visit: | |
; https://support.appneta.com/cloud/configuring-php-instrumentation | |
extension=oboe.so | |
[oboe] | |
; oboe.tracing: When traces should be initiated for incoming requests. Valid | |
; options change behavior when the incoming request is already part of a trace: | |
; "always" - Continue existing traces, otherwise attempt to start a new one. |
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
<?php | |
print('hello'); | |
?> |
OlderNewer