Skip to content

Commit

Permalink
Add extended_documentation for direct connection-only metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
crobert-1 committed Mar 27, 2024
1 parent 5d41386 commit 06d65b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions receiver/sqlserverreceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ metrics:
Total time that the users waited for reads.
This metric is only available when the receiver is configured to directly connect to SQL Server.
| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| s | Gauge | Double |
Expand Down
1 change: 1 addition & 0 deletions receiver/sqlserverreceiver/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ metrics:
gauge:
value_type: double
attributes: [physical_filename, logical_filename, file_type]
extended_documentation: This metric is only available when the receiver is configured to directly connect to SQL Server.

tests:
config:

0 comments on commit 06d65b1

Please sign in to comment.