Skip to content

Commit 1560db4

Browse files
committed
cleanup
1 parent 05cd4b2 commit 1560db4

File tree

9 files changed

+8
-9
lines changed

9 files changed

+8
-9
lines changed

cmd/otelcontribcol/builder-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,4 +280,3 @@ providers:
280280
# file before passing it to OCB, to ensure that local versions are used for all
281281
# Contrib modules.
282282
replaces:
283-
- github.com/open-telemetry/opentelemetry-collector-contrib/receiver/postgresqlreceiver => ../../receiver/postgresqlreceiver

receiver/postgresqlreceiver/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,4 +456,4 @@ top query
456456
| postgresql.index.name | The name of the index on a table. | Any Str | true |
457457
| postgresql.schema.name | The schema name. | Any Str | true |
458458
| postgresql.table.name | The table name. | Any Str | true |
459-
| service.instance.id | A unique identifier of the PostgreSQL instance in the format host:port | Any Str | true |
459+
| service.instance.id | A unique identifier of the PostgreSQL instance in the format host:port (defaults to 'unknown:5432' in case of error in generating this value). | Any Str | true |

receiver/postgresqlreceiver/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ resource_attributes:
2929
enabled: true
3030
type: string
3131
service.instance.id:
32-
description: A unique identifier of the PostgreSQL instance in the format host:port
32+
description: A unique identifier of the PostgreSQL instance in the format host:port (defaults to 'unknown:5432' in case of error in generating this value).
3333
enabled: true
3434
type: string
3535

receiver/postgresqlreceiver/testdata/scraper/multiple/exclude.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ resourceMetrics:
117117
attributes:
118118
- key: service.instance.id
119119
value:
120-
stringValue: SAMBALAM-M-P4X5:5432
120+
stringValue: INSTANCE-NAME:5432
121121
scopeMetrics:
122122
- metrics:
123123
- description: Number of buffers allocated.

receiver/postgresqlreceiver/testdata/scraper/multiple/exclude_schemaattr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ resourceMetrics:
117117
attributes:
118118
- key: service.instance.id
119119
value:
120-
stringValue: SAMBALAM-M-P4X5:5432
120+
stringValue: INSTANCE-NAME:5432
121121
scopeMetrics:
122122
- metrics:
123123
- description: Number of buffers allocated.

receiver/postgresqlreceiver/testdata/scraper/multiple/expected.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ resourceMetrics:
474474
attributes:
475475
- key: service.instance.id
476476
value:
477-
stringValue: SAMBALAM-M-P4X5:5432
477+
stringValue: INSTANCE-NAME:5432
478478
scopeMetrics:
479479
- metrics:
480480
- description: Number of buffers allocated.

receiver/postgresqlreceiver/testdata/scraper/multiple/expected_imprecise_lag.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ resourceMetrics:
474474
attributes:
475475
- key: service.instance.id
476476
value:
477-
stringValue: SAMBALAM-M-P4X5:5432
477+
stringValue: INSTANCE-NAME:5432
478478
scopeMetrics:
479479
- metrics:
480480
- description: Number of buffers allocated.

receiver/postgresqlreceiver/testdata/scraper/multiple/expected_imprecise_lag_schemaattr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ resourceMetrics:
474474
attributes:
475475
- key: service.instance.id
476476
value:
477-
stringValue: SAMBALAM-M-P4X5:5432
477+
stringValue: INSTANCE-NAME:5432
478478
scopeMetrics:
479479
- metrics:
480480
- description: Number of buffers allocated.

receiver/postgresqlreceiver/testdata/scraper/multiple/expected_schemaattr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ resourceMetrics:
474474
attributes:
475475
- key: service.instance.id
476476
value:
477-
stringValue: SAMBALAM-M-P4X5:5432
477+
stringValue: INSTANCE-NAME:5432
478478
scopeMetrics:
479479
- metrics:
480480
- description: Number of buffers allocated.

0 commit comments

Comments
 (0)