content
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
FROM ubuntu | |
MAINTAINER Adam Hert | |
RUN apt-get update && apt-get install -y apache2 && \ | |
apt-get install -y wget && \ | |
wget https://files.appneta.com/install_appneta.sh && \ | |
sh ./install_appneta.sh <site-key> && \ | |
apt-get install -y libapache2-mod-oboe && \ | |
/etc/init.d/apache2 restart && \ | |
apt-get install -y supervisor |
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
FROM jeanblanchard/java:8 | |
MAINTAINER Jean Blanchard <[email protected]> | |
# Expose web port | |
EXPOSE 8080 | |
# Tomcat Version | |
ENV TOMCAT_VERSION_MAJOR 8 | |
ENV TOMCAT_VERSION_FULL 8.5.8 |
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
FROM ubuntu | |
MAINTAINER Adam Hert | |
RUN apt-get update && sudo apt-get install -y nodejs && \ | |
apt-get install -y nodejs-legacy && \ | |
apt-get install -y wget && \ | |
wget https://files.appneta.com/install_appneta.sh && \ | |
sh ./install_appneta.sh <site key> && \ | |
mkdir /var/node && \ | |
apt-get install -y npm && \ |
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
var tv = require('traceview'); | |
tv.traceMode = 'always'; | |
// Load the http module to create an http server. | |
var http = require('http'); | |
// Configure HTTP server to respond with Hello World to all requests. | |
var server = http.createServer(function (request, response) { | |
response.writeHead(200, {"Content-Type": "text/plain"}); | |
response.end("Hello World\n"); | |
}); |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.UI; | |
using System.Web.UI.WebControls; | |
using AppNeta.Instrumentation; | |
public partial class _Default : Page |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.UI; | |
using System.Web.UI.WebControls; | |
using AppNeta.Instrumentation; | |
public partial class _Default : Page |
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 java.io.*; | |
import javax.servlet.*; | |
import javax.servlet.http.*; | |
//import the tracelytics-api.jar (/usr/local/tracelytics/tracelytics-api.jar) | |
import com.tracelytics.api.ext.*; | |
public class process extends HttpServlet { | |
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { | |
try { |
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
""" | |
WSGI config for dt project. | |
It exposes the WSGI callable as a module-level variable named ``application``. | |
For more information on this file, see | |
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ | |
""" | |
import os | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dt.settings") |