You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR enacts the action items decided in the following ML thread:
https://lists.apache.org/thread/4gmlcn84o7n8d12qnpl7grfbm4zypk7b
The action items are:
1. Restore the original functionality for request IDs, change the
default header name back to x-request-id
2. Remove RequestIdGenerator and related functionality.
3. Update PolarisEvent, expose request ID if available, expose OTel
context if available.
4. Update events table SQL schema: insert request ID if available,
insert OTel context if available.
Furthermore, this PR also fixes#2913 and adds a small integration test for the JDBC events sink: `InMemoryBufferEventListenerIntegrationTest`.
Finally, it modifies the Helm chart to reflect the configuration changes.
| livenessProbe.successThreshold | int |`1`| Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. |
248
248
| livenessProbe.terminationGracePeriodSeconds | int |`30`| Optional duration in seconds the pod needs to terminate gracefully upon probe failure. Minimum value is 1. |
249
249
| livenessProbe.timeoutSeconds | int |`10`| Number of seconds after which the probe times out. Minimum value is 1. |
| logging.file.threshold | string |`"ALL"`| The log level of the file appender. |
272
272
| logging.level | string |`"INFO"`| The log level of the root category, which is used as the default log level for all categories. |
273
273
| logging.mdc | object |`{}`| Configuration for MDC (Mapped Diagnostic Context). Values specified here will be added to the log context of all incoming requests and can be used in log patterns. |
274
-
| logging.requestIdHeaderName | string |`"Polaris-Request-Id"`| The header name to use for the request ID. |
275
274
| managementService | object |`{"annotations":{},"clusterIP":"None","externalTrafficPolicy":null,"internalTrafficPolicy":null,"ports":[{"name":"polaris-mgmt","nodePort":null,"port":8182,"protocol":null,"targetPort":null}],"sessionAffinity":null,"trafficDistribution":null,"type":"ClusterIP"}`| Management service settings. These settings are used to configure liveness and readiness probes, and to configure the dedicated headless service that will expose health checks and metrics, e.g. for metrics scraping and service monitoring. |
276
275
| managementService.annotations | object |`{}`| Annotations to add to the service. |
277
276
| managementService.clusterIP | string |`"None"`| By default, the management service is headless, i.e. it does not have a cluster IP. This is generally the right option for exposing health checks and metrics, e.g. for metrics scraping and service monitoring. |
| tasks.maxConcurrentTasks | string |`nil`| The maximum number of concurrent tasks that can be executed at the same time. The default is the number of available cores. |
369
368
| tasks.maxQueuedTasks | string |`nil`| The maximum number of tasks that can be queued up for execution. The default is Integer.MAX_VALUE. |
370
369
| tolerations | list |`[]`| A list of tolerations to apply to polaris pods. See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/.|
371
-
| tracing.attributes | object |`{}`| Resource attributes to identify the polaris service among other tracing sources. See https://opentelemetry.io/docs/reference/specification/resource/semantic_conventions/#service. If left empty, traces will be attached to a service named "Apache Polaris"; to change this, provide a service.name attribute here. |
372
-
| tracing.enabled | bool |`false`| Specifies whether tracing for the polaris server should be enabled. |
373
-
| tracing.endpoint | string |`"http://otlp-collector:4317"`| The collector endpoint URL to connect to (required). The endpoint URL must have either the http:// or the https:// scheme. The collector must talk the OpenTelemetry protocol (OTLP) and the port must be its gRPC port (by default 4317). See https://quarkus.io/guides/opentelemetry for more information. |
374
-
| tracing.sample | string |`"1.0d"`| Which requests should be sampled. Valid values are: "all", "none", or a ratio between 0.0 and "1.0d" (inclusive). E.g. "0.5d" means that 50% of the requests will be sampled. Note: avoid entering numbers here, always prefer a string representation of the ratio. |
| tracing.otel.attributes | object |`{}`| Resource attributes to identify the polaris service among other tracing sources. See https://opentelemetry.io/docs/reference/specification/resource/semantic_conventions/#service. If left empty, traces will be attached to a service named "Apache Polaris"; to change this, provide a service.name attribute here. |
372
+
| tracing.otel.enabled | bool |`false`| Specifies whether tracing for the Apache Polaris server should be enabled. When this is enabled, then an OpenTelemetry collector endpoint must be configured. |
373
+
| tracing.otel.endpoint | string |`"http://otlp-collector:4317"`| The collector endpoint URL to connect to (required). The endpoint URL must have either the http:// or the https:// scheme. The collector must talk the OpenTelemetry protocol (OTLP) and the port must be its gRPC port (by default 4317). See https://quarkus.io/guides/opentelemetry for more information. |
374
+
| tracing.otel.sample | string |`"1.0d"`| Which requests should be sampled. Valid values are: "all", "none", or a ratio between 0.0 and "1.0d" (inclusive). E.g. "0.5d" means that 50% of the requests will be sampled. Note: avoid entering numbers here, always prefer a string representation of the ratio. |
375
+
| tracing.requestId | object |`{"headerName":"X-Request-ID"}`| Configuration for the request ID filter. |
376
+
| tracing.requestId.headerName | string |`"X-Request-ID"`| The name of the header that contains the request ID. |
0 commit comments