Skip to content

Commit

Permalink
Connects Hono and Jaeger
Browse files Browse the repository at this point in the history
  • Loading branch information
jk authored and jk committed Apr 6, 2021
1 parent aeaf197 commit 11e73a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
# .tfstate files
*.tfstate
*.tfstate.*
.terraform.lock.hcl

# Crash log files
crash.log
Expand Down
2 changes: 1 addition & 1 deletion modules/container_deployment/hono_values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
prometheus:
createInstance: true
jaegerBackendExample:
enabled: true
enabled: false
grafana:
enabled: true
mongodb:
Expand Down
14 changes: 9 additions & 5 deletions modules/container_deployment/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,28 +53,32 @@ resource "helm_release" "hono" {
name = "deviceRegistryExample.mongoDBBasedDeviceRegistry.mongodb.password"
value = "hono-secret"
}
set {
name = "jaegerAgentConf.REPORTER_GRPC_HOST_PORT"
value = "jaeger-operator-jaeger-collector:14250"
}
}

resource "helm_release" "ingress-nginx" {
name = "ingress-nginx"
name = "ingress-nginx"

repository = "https://kubernetes.github.io/ingress-nginx"
chart = "ingress-nginx"
}

resource "helm_release" "jaeger-operator" {
name = "jaeger-operator"
name = "jaeger-operator"

repository = "https://jaegertracing.github.io/helm-charts"
chart = "jaeger-operator"

set {
name = "jaeger.create"
name = "jaeger.create"
value = "true"
}

set {
name = "metadata.name"
name = "metadata.name"
value = "simple"
}
}
}

0 comments on commit 11e73a2

Please sign in to comment.