-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce OpenTelemetry Integration chart (#258)
* Initial chart Signed-off-by: Matej Gera <matejgera@gmail.com> * Add extra templates and notes file Signed-off-by: Matej Gera <matejgera@gmail.com> * Add CI job for smoke test Signed-off-by: Matej Gera <matejgera@gmail.com> * Copy dashboards Signed-off-by: Matej Gera <matejgera@gmail.com> * Add release job Signed-off-by: Matej Gera <matejgera@gmail.com> * Add k8s dashboard parmeter and clean values.yaml Signed-off-by: Matej Gera <matejgera@gmail.com> * Move templates to correct subdir Signed-off-by: Matej Gera <matejgera@gmail.com> * Add README and CHANGELOG Signed-off-by: Matej Gera <matejgera@gmail.com> * Fix CI paths Signed-off-by: Matej Gera <matejgera@gmail.com> * Fixing README and CI values Signed-off-by: Matej Gera <matejgera@gmail.com> * Review feedback 1st round Signed-off-by: Matej Gera <matejgera@gmail.com> * Bump collector version and uncomment region detector Signed-off-by: Matej Gera <matejgera@gmail.com> * Better chart naming Signed-off-by: Matej Gera <matejgera@gmail.com> * Add changelog check Signed-off-by: Matej Gera <matejgera@gmail.com> --------- Signed-off-by: Matej Gera <matejgera@gmail.com>
- Loading branch information
Showing
23 changed files
with
4,074 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Otel Integration Helm Install Test | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'otel-integration/k8s-helm/**' | ||
|
||
jobs: | ||
collector-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup | ||
uses: ./.github/actions/setup | ||
with: | ||
create-kind-cluster: "true" | ||
- name: Setup Secret | ||
run: kubectl create secret generic coralogix-keys --from-literal=PRIVATE_KEY=123 | ||
- name: Run chart-testing (install) | ||
run: ct install --namespace default --charts otel-integration/k8s-helm |
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,41 @@ | ||
|
||
name: OpenTelemetry-Integration-Chart | ||
|
||
on: | ||
push: | ||
branches: master | ||
paths: | ||
- 'otel-integration/k8s-helm/**' | ||
|
||
env: | ||
CHART_VERSION: $(yq eval '.version' otel-integration/k8s-helm/Chart.yaml) | ||
CHART_NAME: otel-integration | ||
ARTIFACTORY_URL: https://cgx.jfrog.io/artifactory/ | ||
ARTIFACTORY_USERNAME: integrations-actions | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2.4.0 | ||
- | ||
name: Setup Helm Repo | ||
run: | | ||
helm repo add coralogix-charts-virtual ${{ env.ARTIFACTORY_URL }}coralogix-charts-virtual --username ${{ env.ARTIFACTORY_USERNAME }} --password ${{ secrets.ARTIFACTORY_NONUSER_ACCESS_TOKEN }} | ||
helm repo add opentelemetry https://open-telemetry.github.io/opentelemetry-helm-charts | ||
helm repo update | ||
helm dependency build ./otel-integration/k8s-helm/ | ||
cd otel-integration/k8s-helm | ||
helm package . | ||
- | ||
name: Setup JFrog CLI | ||
uses: jfrog/setup-jfrog-cli@v2.1.0 | ||
with: | ||
version: 2.12.1 | ||
- | ||
name: use-jfrog-cli | ||
run: | | ||
cd otel-integration/k8s-helm | ||
jfrog rt upload --access-token ${{ secrets.ARTIFACTORY_NONUSER_ACCESS_TOKEN }} "${{ env.CHART_NAME }}-*.tgz" coralogix-charts --url ${{ env.ARTIFACTORY_URL }} |
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,7 @@ | ||
# Changelog | ||
|
||
## OpenTelemtry-Integration | ||
|
||
### v0.0.1 / 2023-07-21 | ||
|
||
* [FEATURE] Add new chart |
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 @@ | ||
# OpenTelemetry Integration | ||
|
||
The OpenTelemetry integration projects offers a full-fledged integration to collect and export telemetry signals from your infrastructure and applications. Currently this integration is available for Kubernetes on Linux platforms, please see the [`k8s-helm`](./k8s-helm) subdirectory for installation instructions. |
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 @@ | ||
## Installation | ||
|
||
* Copy the [otel-agent-dashboard.json](./assets/otel-agent-dashboard.json) file content | ||
* Go to your hosted grafana | ||
* Press the `Create` tab | ||
* Press the `Import` tab | ||
* Paste the copied content | ||
|
||
### Host Metrics | ||
|
||
![Alt text](./assets/host-metrics.png) | ||
|
||
### Span Metrics | ||
|
||
![Alt text](./assets/spanmetrics.png) | ||
|
||
### Kubernetes Pod | ||
|
||
![Alt text](./assets/kubernetes-pod.png) | ||
|
||
### Otel Agent | ||
|
||
![Alt text](./assets/dashboard-screenshot.jpg) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.