Skip to content

[vcenterreceiver] Updated units on several metrics #34946

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .chloggen/vcenter-unit-update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Use this changelog template to create an entry for release notes.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: breaking

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: vcenterreceiver

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Updated units on several metrics to be more in line with documented semantics.

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [34946]

# (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: |
The following are the metrics with their respective unit changes:
- vcenter.datacenter.cpu.limit ({MHz} -> MHz)
- vcenter.cluster.cpu.limit ({MHz} -> MHz)
- vcenter.cluster.cpu.effective ({MHz} -> MHz)
- vcenter.cluster.vsan.operations ({operations/sec} -> {operations/s})
- vcenter.cluster.vsan.congestions ({congestions/sec} -> {congestions/s})
- vcenter.host.network.packet.error.rate ({errors/sec} -> {errors/s})
- vcenter.host.network.packet.rate ({packets/sec} -> {packets/s})
- vcenter.host.network.packet.drop.rate ({packets/sec} -> {packets/s})
- vcenter.host.vsan.operations ({operations/sec} -> {operations/s})
- vcenter.host.vsan.congestions ({congestions/sec} -> {congestions/s})
- vcenter.resource_pool.cpu.usage ({MHz} -> MHz)
- vcenter.vm.network.throughput (By/sec -> By/s)
- vcenter.vm.network.packet.rate ({packets/sec} -> {packets/s})
- vcenter.vm.vsan.operations ({operations/sec} -> {operations/s})

# If your change doesn't affect end users or the exported elements of any package,
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
# Optional: The change log or logs in which this entry should be included.
# e.g. '[user]' or '[user, api]'
# Include 'user' if the change is relevant to end users.
# Include 'api' if there is a change to a library API.
# Default: '[user]'
change_logs: [user]
30 changes: 15 additions & 15 deletions receiver/vcenterreceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ The effective CPU available to the cluster. This value excludes CPU from hosts i

| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {MHz} | Sum | Int | Cumulative | false |
| MHz | Sum | Int | Cumulative | false |

### vcenter.cluster.cpu.limit

The amount of CPU available to the cluster.

| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {MHz} | Sum | Int | Cumulative | false |
| MHz | Sum | Int | Cumulative | false |

### vcenter.cluster.host.count

Expand Down Expand Up @@ -88,7 +88,7 @@ The congestions of IOs generated by all vSAN clients in the cluster.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {congestions/sec} | Gauge | Double |
| {congestions/s} | Gauge | Double |

### vcenter.cluster.vsan.latency.avg

Expand All @@ -110,7 +110,7 @@ The vSAN IOPs of a cluster.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {operations/sec} | Gauge | Int |
| {operations/s} | Gauge | Int |

#### Attributes

Expand Down Expand Up @@ -152,7 +152,7 @@ The total amount of CPU available to the datacenter.

| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {MHz} | Sum | Int | Cumulative | false |
| MHz | Sum | Int | Cumulative | false |

### vcenter.datacenter.datastore.count

Expand Down Expand Up @@ -348,7 +348,7 @@ As measured over the most recent 20s interval.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {packets/sec} | Gauge | Double |
| {packets/s} | Gauge | Double |

#### Attributes

Expand All @@ -365,7 +365,7 @@ As measured over the most recent 20s interval.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {errors/sec} | Gauge | Double |
| {errors/s} | Gauge | Double |

#### Attributes

Expand All @@ -382,7 +382,7 @@ As measured over the most recent 20s interval.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {packets/sec} | Gauge | Double |
| {packets/s} | Gauge | Double |

#### Attributes

Expand Down Expand Up @@ -440,7 +440,7 @@ As measured over the most recent 5m interval.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {congestions/sec} | Gauge | Double |
| {congestions/s} | Gauge | Double |

### vcenter.host.vsan.latency.avg

Expand All @@ -466,7 +466,7 @@ As measured over the most recent 5m interval.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {operations/sec} | Gauge | Int |
| {operations/s} | Gauge | Int |

#### Attributes

Expand Down Expand Up @@ -504,7 +504,7 @@ The usage of the CPU used by the resource pool.

| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {MHz} | Sum | Int | Cumulative | false |
| MHz | Sum | Int | Cumulative | false |

### vcenter.resource_pool.memory.ballooned

Expand Down Expand Up @@ -701,7 +701,7 @@ As measured over the most recent 20s interval.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {packets/sec} | Gauge | Double |
| {packets/s} | Gauge | Double |

#### Attributes

Expand All @@ -718,7 +718,7 @@ As measured over the most recent 20s interval.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {packets/sec} | Gauge | Double |
| {packets/s} | Gauge | Double |

#### Attributes

Expand All @@ -735,7 +735,7 @@ As measured over the most recent 20s interval.

| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| By/sec | Sum | Int | Cumulative | false |
| By/s | Sum | Int | Cumulative | false |

#### Attributes

Expand Down Expand Up @@ -780,7 +780,7 @@ The vSAN IOPs of a virtual machine.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {operations/sec} | Gauge | Int |
| {operations/s} | Gauge | Int |

#### Attributes

Expand Down
30 changes: 15 additions & 15 deletions receiver/vcenterreceiver/internal/metadata/generated_metrics.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading