diff --git a/gotosocial/Chart.yaml b/gotosocial/Chart.yaml index d9d1408..ee7c91a 100644 --- a/gotosocial/Chart.yaml +++ b/gotosocial/Chart.yaml @@ -3,7 +3,7 @@ name: gotosocial description: With GoToSocial, you can keep in touch with your friends, post, read, and share images and articles. All without being tracked or advertised to! icon: https://docs.gotosocial.org/en/latest/assets/sloth.png type: application -version: 0.1.9 +version: 0.2.0 # renovate: image=docker.io/superseriousbusiness/gotosocial appVersion: "0.16.0" maintainers: diff --git a/gotosocial/README.adoc b/gotosocial/README.adoc index 884dc79..15ac1be 100644 --- a/gotosocial/README.adoc +++ b/gotosocial/README.adoc @@ -2,7 +2,7 @@ = gotosocial -image::https://img.shields.io/badge/Version-0.1.9-informational?style=flat-square[Version: 0.1.9] +image::https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square[Version: 0.2.0] image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application] image::https://img.shields.io/badge/AppVersion-0.16.0-informational?style=flat-square[AppVersion: 0.16.0] == Maintainers @@ -302,6 +302,26 @@ helm uninstall gotosocial-release | `true` | Use SSL for S3 connections. Only set this to 'false' when testing locally. +| gotosocial.tracing.enabled +| bool +| `false` +| Enable OpenTelemetry based tracing support. + +| gotosocial.tracing.endpoint +| string +| `""` +| Endpoint of the trace ingester. When using the gRPC or HTTP based transports, provide the endpoint as a single address/port combination without a protocol scheme. + +| gotosocial.tracing.insecureTransport +| bool +| `false` +| Disable TLS for the gRPC and HTTP transport protocols. + +| gotosocial.tracing.transport +| string +| `"grpc"` +| Set the transport protocol for the tracing system. Can either be "grpc" for OTLP gRPC, or "http" for OTLP HTTP. + | gotosocial.tz | string | `"UTC"` @@ -480,7 +500,7 @@ helm uninstall gotosocial-release | serviceAccount.name | string | `""` -| If not set and create is true, a name is generated using the fullname template +| The name of the service account to use. If not set and create is true, a name is generated using the fullname template | tolerations | list diff --git a/gotosocial/templates/secret.yaml b/gotosocial/templates/secret.yaml index e4d98f5..558f872 100644 --- a/gotosocial/templates/secret.yaml +++ b/gotosocial/templates/secret.yaml @@ -99,4 +99,16 @@ data: {{- end }}{{/* end-with smtp */}} GTS_METRICS_ENABLED: {{ toYaml .metrics.enabled | b64enc }} + + # https://www.w3.org/TR/trace-context/#traceparent-header + GTS_REQUEST_ID_HEADER: {{ "Traceparent" | b64enc }} + {{- with .tracing }} + {{- if .enabled }} + GTS_TRACING_ENABLED: {{ "true" | b64enc}} + GTS_TRACING_TRANSPORT: {{ .transport | b64enc }} + GTS_TRACING_ENDPOINT: {{ .endpoint | b64enc }} + GTS_TRACING_INSECURE_TRANSPORT: {{ toYaml .insecureTransport | b64enc }} + {{- end }}{{/* end-if .tracing.enabled */}} + {{- end }}{{/* end-with .tracing */}} + {{- end }}{{/* end-with .gotosocial */}} diff --git a/gotosocial/values.yaml b/gotosocial/values.yaml index 312ea2c..24977ae 100644 --- a/gotosocial/values.yaml +++ b/gotosocial/values.yaml @@ -174,6 +174,15 @@ gotosocial: enabled: false username: "" password: "" + tracing: + # -- Enable OpenTelemetry based tracing support. + enabled: false + # -- Set the transport protocol for the tracing system. Can either be "grpc" for OTLP gRPC, or "http" for OTLP HTTP. + transport: grpc + # -- Endpoint of the trace ingester. When using the gRPC or HTTP based transports, provide the endpoint as a single address/port combination without a protocol scheme. + endpoint: "" + # -- Disable TLS for the gRPC and HTTP transport protocols. + insecureTransport: false prometheus: servicemonitor: @@ -188,7 +197,7 @@ serviceAccount: # -- Annotations to add to the service account annotations: {} # -- The name of the service account to use. - # -- If not set and create is true, a name is generated using the fullname template + # If not set and create is true, a name is generated using the fullname template name: "" podAnnotations: {}