diff --git a/.chloggen/fix-spanner.yaml b/.chloggen/fix-spanner.yaml new file mode 100755 index 000000000000..f4614036a786 --- /dev/null +++ b/.chloggen/fix-spanner.yaml @@ -0,0 +1,16 @@ +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: bug_fix + +# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) +component: receiver/googlecloudspannerreceiver + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Changed the type of the used_bytes metric from int to float + +# One or more tracking issues related to the change +issues: [22782] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: diff --git a/receiver/googlecloudspannerreceiver/internal/metadataconfig/metadata.yaml b/receiver/googlecloudspannerreceiver/internal/metadataconfig/metadata.yaml index dda5e9e87906..a5c6ebd0cc55 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadataconfig/metadata.yaml +++ b/receiver/googlecloudspannerreceiver/internal/metadataconfig/metadata.yaml @@ -534,7 +534,7 @@ metadata: metrics: - name: "used_bytes" column_name: "USED_BYTES" - value_type: "int" + value_type: "float" data: type: "gauge" unit: "byte"