Skip to content

Commit

Permalink
fix(tracing): Set sampling rate (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirianni authored May 16, 2024
1 parent 49fa5d1 commit 19d9bfb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/bindplane/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: bindplane
description: BindPlane OP is an observability pipeline.
type: application
# The chart's version
version: 1.11.2
version: 1.11.3
# The BindPlane OP tagged release. If the user does not
# set the `image.tag` values option, this version is used.
appVersion: 1.57.0
Expand Down
3 changes: 2 additions & 1 deletion charts/bindplane/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bindplane

![Version: 1.11.2](https://img.shields.io/badge/Version-1.11.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.57.0](https://img.shields.io/badge/AppVersion-1.57.0-informational?style=flat-square)
![Version: 1.11.3](https://img.shields.io/badge/Version-1.11.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.57.0](https://img.shields.io/badge/AppVersion-1.57.0-informational?style=flat-square)

BindPlane OP is an observability pipeline.

Expand Down Expand Up @@ -152,6 +152,7 @@ BindPlane OP is an observability pipeline.
| tolerations | object | `{}` | The Pod's tolerations |
| trace.otlp.endpoint | string | `""` | Endpoint of the OTLP trace receiver. Should be in the form of ip:port or host:port. |
| trace.otlp.insecure | bool | `false` | Set to `true` to disable TLS. Set to false if TLS is in use by the OTLP trace receiver. |
| trace.otlp.samplingRate | string | `"1"` | Sampling rate between 0 and 1. 1 being 100% of traces are sent. |
| trace.type | string | `""` | Trace type to use. Valid options include `otlp`. |
| transform_agent.name | string | `""` | Transform Agent Image name to be used. Defaults to `ghcr.io/observiq/bindplane-transform-agent`. |
| transform_agent.replicas | int | `1` | Number of replicas to use for the transform agent. |
Expand Down
2 changes: 2 additions & 0 deletions charts/bindplane/templates/bindplane-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ spec:
value: {{ .Values.trace.otlp.endpoint }}
- name: BINDPLANE_TRACING_OTLP_INSECURE
value: "{{ .Values.trace.otlp.insecure }}"
- name: BINDPLANE_TRACING_SAMPLING_RATE
value: "{{ .Values.trace.otlp.samplingRate }}"
{{- end }}
- name: BINDPLANE_LOGGING_OUTPUT
value: stdout
Expand Down
2 changes: 2 additions & 0 deletions charts/bindplane/templates/bindplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ spec:
value: {{ .Values.trace.otlp.endpoint }}
- name: BINDPLANE_TRACING_OTLP_INSECURE
value: "{{ .Values.trace.otlp.insecure }}"
- name: BINDPLANE_TRACING_SAMPLING_RATE
value: "{{ .Values.trace.otlp.samplingRate }}"
{{- end }}
- name: BINDPLANE_LOGGING_OUTPUT
value: stdout
Expand Down
2 changes: 2 additions & 0 deletions charts/bindplane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ trace:
endpoint: ""
# -- Set to `true` to disable TLS. Set to false if TLS is in use by the OTLP trace receiver.
insecure: false
# -- Sampling rate between 0 and 1. 1 being 100% of traces are sent.
samplingRate: "1"

# -- Number of replicas to use for the BindPlane server. Should not be set if `autoscaling.enable` is set to `true`. 0 means this option will not be set.
replicas: 0
Expand Down

0 comments on commit 19d9bfb

Please sign in to comment.