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
{{ message }}
Repository navigation
Commit d201b71
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/api/openapi.json
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3821,6 +3821,12 @@
3821
3821
"nullable": true,
3822
3822
"example": "ServiceName"
3823
3823
},
3824
+
"serviceVersionExpression": {
3825
+
"type": "string",
3826
+
"description": "Expression identifying the running release of a service. Defaults to the OpenTelemetry service.version resource attribute when unset. Where services carry the release on different attributes, fall back across them with coalesce(nullIf(a, ''), nullIf(b, '')).",
"description": "Expression to extract the severity/log level text.",
@@ -4095,6 +4101,12 @@
4095
4101
"nullable": true,
4096
4102
"example": "ServiceName"
4097
4103
},
4104
+
"serviceVersionExpression": {
4105
+
"type": "string",
4106
+
"description": "Expression identifying the running release of a service. Defaults to the OpenTelemetry service.version resource attribute when unset. Where services carry the release on different attributes, fall back across them with coalesce(nullIf(a, ''), nullIf(b, '')).",
Copy file name to clipboardExpand all lines: packages/api/src/routers/external-api/v2/sources.ts
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -398,6 +398,11 @@ function formatExternalSource(source: SourceDocument) {
398
398
* description: Expression to extract the service name from log rows.
399
399
* nullable: true
400
400
* example: ServiceName
401
+
* serviceVersionExpression:
402
+
* type: string
403
+
* description: Expression identifying the running release of a service. Defaults to the OpenTelemetry service.version resource attribute when unset. Where services carry the release on different attributes, fall back across them with coalesce(nullIf(a, ''), nullIf(b, '')).
404
+
* nullable: true
405
+
* example: ResourceAttributes['service.version']
401
406
* severityTextExpression:
402
407
* type: string
403
408
* description: Expression to extract the severity/log level text.
@@ -616,6 +621,11 @@ function formatExternalSource(source: SourceDocument) {
616
621
* description: Expression to extract the service name from trace rows.
617
622
* nullable: true
618
623
* example: ServiceName
624
+
* serviceVersionExpression:
625
+
* type: string
626
+
* description: Expression identifying the running release of a service. Defaults to the OpenTelemetry service.version resource attribute when unset. Where services carry the release on different attributes, fall back across them with coalesce(nullIf(a, ''), nullIf(b, '')).
627
+
* nullable: true
628
+
* example: ResourceAttributes['service.version']
619
629
* resourceAttributesExpression:
620
630
* type: string
621
631
* description: Expression to extract resource-level attributes.
'For Distributed table sources whose target tables have non-matching column sets. Provide a list of columns supported across all target tables; it is used instead of SELECT * when fetching full row data (e.g. the row side panel). Leave blank to select all columns. This should be a comma-separated list of column names - do not include non-column expressions or aliases.';
8
8
9
+
exportconstSERVICE_VERSION_EXPRESSION_HELP_TEXT=
10
+
"Identifies the running release of a service. Defaults to the OpenTelemetry service.version resource attribute. Point it elsewhere if your release identifier lives in another attribute - under GitOps it is often the container image tag. If services in this table use different attributes, fall back across them: coalesce(nullIf(ResourceAttributes['service.version'], ''), nullIf(ResourceAttributes['container.image.tag'], '')).";
11
+
9
12
// Placeholder written into from.databaseName / from.tableName when the
0 commit comments