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
#!/bin/bash | |
# WARNING: Hardcoding credentials is not recommended! | |
export AWS_ACCESS_KEY_ID="YOUR_AWS_ACCESS_KEY_ID" | |
export AWS_SECRET_ACCESS_KEY="YOUR_AWS_SECRET_ACCESS_KEY" | |
export AWS_DEFAULT_REGION="us-east-1" | |
# This script creates the folder structure and Terraform files for the AWS demo environment. | |
# Run this script from your terminal: ./setup-demo.sh | |
set -e |
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 time | |
from ddtrace import tracer | |
from flask import Flask | |
app = Flask(__name__) | |
@app.get("/") | |
def index(): |
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
rem Set Datadog Node APM Tracing Library Environment Variables within the application process | |
SET DD_PROFILING_ENABLED="true" | |
SET DD_RUNTIME_METRICS_ENABLED="true" | |
SET DD_ENV="testing" | |
SET DD_VERSION="3.0.0" | |
rem Start node application | |
... | |
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
https://aas-demo-orchard-netcore31.azurewebsites.net/ | |
https://aas-demo-orchard-netcore31.azurewebsites.net/about | |
https://aas-demo-orchard-netcore31.azurewebsites.net/ | |
https://aas-demo-orchard-netcore31.azurewebsites.net/dd-rum-orchard | |
https://aas-demo-orchard-netcore31.azurewebsites.net/blog/post-1 | |
https://aas-demo-orchard-netcore31.azurewebsites.net/login |
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
apt-get update | |
apt-get install binutils -y | |
mkdir dotnet-debian-temp | |
mkdir dotnet-debian-temp/agent | |
mkdir dotnet-debian-temp/dogstatsd | |
mkdir dotnet-debian-temp/tracer | |
mkdir dotnet-debian | |
mkdir dotnet-debian/dotnet-tracer |
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
#BASE CONATINER AMAZON JAVA 8 | |
FROM 415971912945.dkr.ecr.us-west-2.amazonaws.com/amazoncorretto:8-al2-full | |
# BUILD TIME ARGUMENTS | |
ARG SERVICE_NAME | |
#ADD jq for entrypoint.sh | |
RUN yum install jq -y | |
RUN yum install unzip -y |
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 415971912945.dkr.ecr.us-west-2.amazonaws.com/aspnet:3.1 | |
RUN apt-get update | |
RUN apt-get install zip -y | |
# BUILD TIME ARGUMENTS | |
ARG SERVICE_NAME | |
COPY ./extract/ /app/ |
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
[String[]] $v = @("COR_ENABLE_PROFILING=1", "COR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8}","CORECLR_ENABLE_PROFILING=1", "CORECLR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8}") | |
Set-ItemProperty HKLM:SYSTEM\CurrentControlSet\Services\W3SVC -Name Environment -Value $v | |
Set-ItemProperty HKLM:SYSTEM\CurrentControlSet\Services\WAS -Name Environment -Value $v | |
net stop was /y | |
net start w3svc |
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
"ipcMode": null, | |
"executionRoleArn": "arn:aws:iam::172597598159:role/ecsTaskExecutionRole", | |
"containerDefinitions": [ | |
{ | |
"dnsSearchDomains": null, | |
"environmentFiles": null, | |
"logConfiguration": { | |
"logDriver": "awslogs", | |
"secretOptions": null, | |
"options": { |
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
rem Set environment variables | |
SET COR_ENABLE_PROFILING=1 | |
SET COR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8} | |
rem Start application | |
example.exe |
NewerOlder