Skip to content

Commit

Permalink
MSSQL: Fix Integration Test (#694)
Browse files Browse the repository at this point in the history
Fix data types on some of the metrics
  • Loading branch information
schmikei authored Jun 30, 2022
1 parent 2633de2 commit 13708e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ metrics:
- mssql_v2
"

Restart-Service google-cloud-ops-agent -Force
Restart-Service google-cloud-ops-agent -Force
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ expected_metrics:
monitored_resource: gce_instance
labels: {}
# v2 metrics
- type: workload.googleapis.com/sqlserver.user.connection.count # TODO: look into this metric type change
value_type: DOUBLE
- type: workload.googleapis.com/sqlserver.user.connection.count
value_type: INT64
kind: GAUGE
monitored_resource: gce_instance
labels: {}
Expand Down Expand Up @@ -74,7 +74,7 @@ expected_metrics:
monitored_resource: gce_instance
labels: {}
- type: workload.googleapis.com/sqlserver.page.life_expectancy
value_type: DOUBLE
value_type: INT64
kind: GAUGE
monitored_resource: gce_instance
labels: {}
Expand All @@ -100,19 +100,19 @@ expected_metrics:
labels:
type: .*
- type: workload.googleapis.com/sqlserver.transaction_log.growth.count
value_type: DOUBLE
value_type: INT64
kind: CUMULATIVE
monitored_resource: gce_instance
labels:
database: .*
- type: workload.googleapis.com/sqlserver.transaction_log.shrink.count
value_type: DOUBLE
value_type: INT64
kind: CUMULATIVE
monitored_resource: gce_instance
labels:
database: .*
- type: workload.googleapis.com/sqlserver.transaction_log.percent_used
value_type: DOUBLE
value_type: INT64
kind: GAUGE
monitored_resource: gce_instance
labels:
Expand Down

0 comments on commit 13708e7

Please sign in to comment.