Skip to content

Commit

Permalink
Merge pull request #63 from graphistry/dev/opentelemetry
Browse files Browse the repository at this point in the history
Enable OpenTelemetry for Graphistry K8s
  • Loading branch information
aucahuasi authored Dec 13, 2024
2 parents c0d8092 + dd26e02 commit 3549bc0
Show file tree
Hide file tree
Showing 43 changed files with 2,662 additions and 77 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ and then set the nodeSelector value to the hostname of the selected node along w
> **Note:** different labels can be used for the nodeSelector value, but some labels between the nodes may not be unique.

[ReadTheDocs](docs/build/html/index.html)
[ReadTheDocs](https://graphistry-helm.readthedocs.io/)

Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ spec:
source:
path: charts/graphistry-helm
repoURL: https://github.com/graphistry/graphistry-helm.git
targetRevision: HEAD #BRANCH OR HEAD WHEN IN MAIN
targetRevision: dev/opentelemetry #BRANCH OR HEAD WHEN IN MAIN
helm:
valueFiles:
- ../values-overrides/internal/eks-dev-values.yaml # resolved against source.repoURL and source.path
# - ../values-overrides/internal/eks-dev-values.yaml # resolved against source.repoURL and source.path
- ../values-overrides/examples/k3s_example_values.yaml
syncPolicy:
automated:
prune: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ spec:
source:
path: charts/graphistry-helm-resources
repoURL: https://github.com/graphistry/graphistry-helm.git
targetRevision: HEAD #BRANCH OR HEAD WHEN IN MAIN
targetRevision: dev/opentelemetry #BRANCH OR HEAD WHEN IN MAIN
helm:
valueFiles:
- ../values-overrides/internal/eks-dev-values.yaml # resolved against source.repoURL and source.path
#- ../values-overrides/internal/eks-dev-values.yaml # resolved against source.repoURL and source.path
- ../values-overrides/examples/k3s_example_values.yaml
syncPolicy:
automated:
prune: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: graphistry-telemetry-cd
namespace: argo-cd
finalizers:
- resources-finalizer.argocd.argoproj.io
labels:
name: graphistry
spec:
destination:
server: https://kubernetes.default.svc
namespace: graphistry
project: default
source:
path: charts/graphistry-helm/charts/telemetry
repoURL: https://github.com/graphistry/graphistry-helm.git
targetRevision: dev/opentelemetry #BRANCH OR HEAD WHEN IN MAIN
helm:
valueFiles:
# - ../values-overrides/internal/eks-dev-values.yaml # resolved against source.repoURL and source.path
- ../values-overrides/examples/k3s_example_values.yaml
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true


##helm template cd/argo-apps/ | kubectl apply -f -
2 changes: 1 addition & 1 deletion cd/argo-apps/templates/graphistry-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
source:
path: cd/argo-apps/templates/graphistry-cd-templates
repoURL: https://github.com/graphistry/graphistry-helm.git
targetRevision: HEAD #BRANCH OR HEAD WHEN IN MAIN
targetRevision: dev/opentelemetry #BRANCH OR HEAD WHEN IN MAIN
syncPolicy:
automated:
prune: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ spec:
source:
path: charts/postgres-cluster
repoURL: https://github.com/graphistry/graphistry-helm.git
targetRevision: nightly #BRANCH OR HEAD WHEN IN MAIN
targetRevision: dev/opentelemetry #BRANCH OR HEAD WHEN IN MAIN
helm:
valueFiles:
- ../values-overrides/internal/eks-dev-values.yaml # resolved against source.repoURL and source.path
# - ../values-overrides/internal/eks-dev-values.yaml # resolved against source.repoURL and source.path
- ../values-overrides/examples/k3s_example_values.yaml
syncPolicy:
automated:
prune: true
Expand Down
16 changes: 16 additions & 0 deletions charts/graphistry-helm/charts/telemetry/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Graphistry-Helm-Telemetry-Chart
version: 0.3.6
apiVersion: v1
description: >
Helm Charts to deploy Telemetry services for Graphistry.
Telemetry documentation:
https://github.com/graphistry/graphistry-cli/blob/master/docs/tools/telemetry.md#kubernetes-deployment

keywords:
- Graphistry
- Helm Charts
- kubernetes
- OpenTelemetry
- Grafana
- Prometheus
- Jaeger
2 changes: 2 additions & 0 deletions charts/graphistry-helm/charts/telemetry/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Graphistry Helm Telemetry

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: 1

providers:
- name: 'DCGM Exporter Dashboards'
orgId: 1
folder: ''
type: file
disableDeletion: false
updateIntervalSeconds: 1
options:
path: /etc/grafana/provisioning/dashboards

- name: 'Node Exporter Dashboards'
orgId: 1
folder: ''
type: file
disableDeletion: false
updateIntervalSeconds: 1
options:
path: /mnt/grafana/provisioning/dashboards
Loading

0 comments on commit 3549bc0

Please sign in to comment.