forked from open-telemetry/opentelemetry-demo
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c33f23
commit ec7fd8e
Showing
204 changed files
with
5,582 additions
and
10,205 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
agents: | ||
image: | ||
tag: 7.51.0-rc.1 | ||
tagSuffix: jmx | ||
datadog: | ||
apiKey: $DD_API_KEY | ||
logs: | ||
enabled: true | ||
otlp: | ||
receiver: | ||
protocols: | ||
grpc: | ||
enabled: true | ||
http: | ||
enabled: true | ||
env: | ||
- name: DD_API_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: datadog-secrets | ||
key: api-key | ||
optional: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
agents: | ||
image: | ||
repository: docker.io/datadog/agent-dev | ||
tag: stanley-liu-top-level-spans-poc-py3-jmx | ||
doNotCheckTag: true | ||
datadog: | ||
apiKey: $DD_API_KEY | ||
logs: | ||
enabled: true | ||
otlp: | ||
receiver: | ||
protocols: | ||
grpc: | ||
enabled: true | ||
http: | ||
enabled: true | ||
env: | ||
- name: DD_API_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: datadog-secrets | ||
key: api-key | ||
optional: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
agents: | ||
nodeSelector: | ||
alpha.eksctl.io/nodegroup-name: ng-7 | ||
datadog: | ||
tags: | ||
- "env:dd-ingest-staging" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
agents: | ||
image: | ||
tag: 7.51.0-rc.1 | ||
tagSuffix: jmx | ||
datadog: | ||
apiKey: $DD_API_KEY | ||
apm: | ||
portEnabled: true | ||
port: 8126 | ||
logs: | ||
enabled: true | ||
env: | ||
- name: DD_API_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: datadog-secrets | ||
key: api-key | ||
optional: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
datadog: | ||
tags: | ||
- "env:otel-ingest" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
agents: | ||
nodeSelector: | ||
alpha.eksctl.io/nodegroup-name: ng-4 | ||
datadog: | ||
tags: | ||
- "env:otel-ingest-staging" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Copyright The OpenTelemetry Authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# This script is used to deploy collector on demo account cluster | ||
|
||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
clusterName=$CLUSTER_NAME | ||
clusterArn=$CLUSTER_ARN | ||
region=$REGION | ||
namespace=$NAMESPACE | ||
releaseName=$RELEASE_NAME | ||
ddValues=$DD_VALUES | ||
values=$VALUES | ||
|
||
install_agent() { | ||
# if repo already exists, helm 3+ will skip | ||
helm repo add datadog https://helm.datadoghq.com | ||
|
||
# --install will run `helm install` if not already present. | ||
helm upgrade "${releaseName}" -n "${namespace}" datadog/datadog --install \ | ||
-f "${ddValues}" \ | ||
-f "${values}" | ||
} | ||
|
||
########################################################################################################### | ||
|
||
aws eks --region "${region}" update-kubeconfig --name "${clusterName}" | ||
kubectl config use-context "${clusterArn}" | ||
|
||
install_agent |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Copyright The OpenTelemetry Authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# This script is used to deploy collector on demo account cluster | ||
|
||
set -euo pipefail | ||
IFS=$'\n\t' | ||
set -x | ||
|
||
clusterName=$CLUSTER_NAME | ||
clusterArn=$CLUSTER_ARN | ||
region=$REGION | ||
namespace=$NAMESPACE | ||
nodeGroup=$NODE_GROUP | ||
values=$VALUES | ||
|
||
install_demo() { | ||
# Set the namespace and release name | ||
release_name="opentelemetry-demo" | ||
|
||
# Deploy zookeeper which is not a default component. | ||
sed -i "s/PLACEHOLDER_NODE_GROUP/$nodeGroup/g" ./src/zookeeperservice/deployment-staging.yaml | ||
kubectl apply -f ./src/zookeeperservice/deployment-staging.yaml -n "${namespace}" | ||
|
||
# if repo already exists, helm 3+ will skip | ||
helm --debug repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts | ||
|
||
# --install will run `helm install` if not already present. | ||
helm --debug upgrade "${release_name}" -n "${namespace}" open-telemetry/opentelemetry-demo --install \ | ||
-f ./ci/values.yaml \ | ||
-f $values \ | ||
--set-string default.image.tag="v$CI_COMMIT_SHORT_SHA" \ | ||
--set-string default.image.repository="601427279990.dkr.ecr.us-east-1.amazonaws.com/otel-demo" | ||
|
||
# Deploy java order producer which is not a default component. | ||
sed -i "s/PLACEHOLDER_COMMIT_SHA/v$CI_COMMIT_SHORT_SHA/g" ./src/orderproducerservice/deployment-staging.yaml | ||
sed -i "s/PLACEHOLDER_NODE_GROUP/$nodeGroup/g" ./src/orderproducerservice/deployment-staging.yaml | ||
kubectl apply -f ./src/orderproducerservice/deployment-staging.yaml -n "${namespace}" | ||
} | ||
|
||
########################################################################################################### | ||
|
||
aws eks --region "${region}" update-kubeconfig --name "${clusterName}" | ||
kubectl config use-context "${clusterArn}" | ||
|
||
install_demo |
Oops, something went wrong.