Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,14 @@ values which are defined [here](https://github.com/grafana/helm-charts/tree/main
| alloy.alloy.configMap.key | string | `"config.river"` | |
| alloy.alloy.configMap.name | string | `"collector-config"` | |
| alloy.alloy.extraArgs[0] | string | `"--disable-reporting=true"` | |
| alloy.alloy.extraPorts[0].name | string | `"otlp-grpc"` | |
| alloy.alloy.extraPorts[0].port | int | `4317` | |
| alloy.alloy.extraPorts[0].protocol | string | `"TCP"` | |
| alloy.alloy.extraPorts[0].targetPort | int | `4317` | |
| alloy.alloy.extraPorts[1].name | string | `"otlp-http"` | |
| alloy.alloy.extraPorts[1].port | int | `4318` | |
| alloy.alloy.extraPorts[1].protocol | string | `"TCP"` | |
| alloy.alloy.extraPorts[1].targetPort | int | `4318` | |
| alloy.alloy.mounts.dockercontainers | bool | `true` | |
| alloy.alloy.mounts.varlog | bool | `true` | |
| alloy.commonRelabellings | string | `"rule {\n source_labels = [\"__meta_kubernetes_namespace\"]\n target_label = \"namespace\"\n}\nrule {\n source_labels = [\"__meta_kubernetes_pod_name\"]\n target_label = \"pod\"\n}\n// coalesce the following labels and pick the first value; we'll use this to define the \"job\" label\nrule {\n source_labels = [\"__meta_kubernetes_pod_label_app_kubernetes_io_component\", \"app\", \"__meta_kubernetes_pod_container_name\"]\n separator = \"/\"\n target_label = \"__meta_app\"\n action = \"replace\"\n regex = \"^/*([^/]+?)(?:/.*)?$\" // split by the delimiter if it exists, we only want the first one\n replacement = \"${1}\"\n}\nrule {\n source_labels = [\"__meta_kubernetes_namespace\", \"__meta_kubernetes_pod_label_app_kubernetes_io_name\", \"__meta_app\"]\n separator = \"/\"\n target_label = \"job\"\n}\nrule {\n source_labels = [\"__meta_kubernetes_pod_container_name\"]\n target_label = \"container\"\n}\nrule {\n regex = \"__meta_kubernetes_pod_label_(statefulset_kubernetes_io_pod_name|controller_revision_hash)\"\n action = \"labeldrop\"\n}\nrule {\n regex = \"pod_template_generation\"\n action = \"labeldrop\"\n}\nrule {\n source_labels = [\"__meta_kubernetes_pod_phase\"]\n regex = \"Pending|Succeeded|Failed|Completed\"\n action = \"drop\"\n}\nrule {\n source_labels = [\"__meta_kubernetes_pod_node_name\"]\n action = \"replace\"\n target_label = \"node\"\n}\nrule {\n action = \"labelmap\"\n regex = \"__meta_kubernetes_pod_annotation_prometheus_io_param_(.+)\"\n replacement = \"__param_$1\"\n}"` | |
Expand Down
11 changes: 11 additions & 0 deletions coder-observability/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,17 @@ alloy:
mounts:
varlog: true
dockercontainers: true
# Expose the OTLP receiver ports on the alloy container and on the alloy and
# alloy-cluster Services. Nothing listens on them until withOTLPReceiver is true.
extraPorts:
- name: otlp-grpc
port: 4317
targetPort: 4317
protocol: TCP
- name: otlp-http
port: 4318
targetPort: 4318
protocol: TCP
controller:
type: daemonset
podAnnotations:
Expand Down
22 changes: 22 additions & 0 deletions compiled/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11455,6 +11455,14 @@ spec:
port: 12345
targetPort: 12345
protocol: "TCP"
- name: otlp-grpc
port: 4317
targetPort: 4317
protocol: TCP
- name: otlp-http
port: 4318
targetPort: 4318
protocol: TCP
---
# Source: coder-observability/charts/alloy/templates/service.yaml
apiVersion: v1
Expand All @@ -11479,6 +11487,14 @@ spec:
port: 12345
targetPort: 12345
protocol: "TCP"
- name: otlp-grpc
port: 4317
targetPort: 4317
protocol: TCP
- name: otlp-http
port: 4318
targetPort: 4318
protocol: TCP
---
# Source: coder-observability/charts/grafana/templates/service.yaml
apiVersion: v1
Expand Down Expand Up @@ -12106,6 +12122,12 @@ spec:
ports:
- containerPort: 12345
name: http-metrics
- containerPort: 4317
name: otlp-grpc
protocol: TCP
- containerPort: 4318
name: otlp-http
protocol: TCP
readinessProbe:
httpGet:
path: /-/ready
Expand Down
Loading