OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) | преди 1 година | |
---|---|---|
.. | ||
internal | преди 1 година | |
testdata | преди 1 година | |
Makefile | преди 2 години | |
README.md | преди 1 година | |
client.go | преди 1 година | |
client_test.go | преди 1 година | |
config.go | преди 1 година | |
config_test.go | преди 1 година | |
doc.go | преди 1 година | |
documentation.md | преди 1 година | |
factory.go | преди 1 година | |
factory_test.go | преди 1 година | |
go.mod | преди 1 година | |
go.sum | преди 1 година | |
integration_test.go | преди 1 година | |
metadata.yaml | преди 1 година | |
metrics.go | преди 1 година | |
scraper.go | преди 1 година | |
scraper_test.go | преди 1 година |
Status | |
---|---|
Stability | alpha: metrics |
Distributions | contrib, observiq, sumo |
Issues | |
Code Owners | @djaglowski, @schmikei |
This receiver fetches metrics from a vCenter or ESXi host running VMware vSphere APIs.
This receiver has been built to support ESXi and vCenter versions:
A “Read Only” user assigned to a vSphere with permissions to the vCenter server, cluster and all subsequent resources being monitored must be specified in order for the receiver to retrieve information about them.
Parameter | Default | Type | Notes |
---|---|---|---|
endpoint | String | Endpoint to the vCenter Server or ESXi host that has the sdk path enabled. Required. The expected format is <protocol>://<hostname> i.e: https://vcsa.hostname.localnet |
|
username | String | Required | |
password | String | Required | |
tls | TLSClientSetting | Not Required. Will use defaults for configtls.TLSClientSetting. By default insecure settings are rejected and certificate verification is on. | |
collection_interval | 2m | Duration | This receiver collects metrics on an interval. If the vCenter is fairly large, this value may need to be increased. Valid time units are ns , us (or µs ), ms , s , m , h |
initial_delay | 1s | Duration | Defines how long this receiver waits before starting. |
receivers:
vcenter:
endpoint: http://localhost:15672
username: otelu
password: ${env:VCENTER_PASSWORD}
collection_interval: 5m
initial_delay: 1s
metrics: []
The full list of settings exposed for this receiver are documented here with detailed sample configurations here. TLS config is documented further under the opentelemetry collector's configtls package.
Details about the metrics produced by this receiver can be found in metadata.yaml with further documentation in documentation.md
These metrics were incorrectly dimensioned previously but the desired fix is a breaking change. To avoid breaking existing users, this feature gate is used to control whether the dimensions are fixed or not. This feature gate is planned to removed in two months.
vcenter.vm.network.throughput
vcenter.vm.network.usage
vcenter.vm.network.packet.count
vcenter.vm.disk.latency.avg
vcenter.vm.disk.latency.max
vcenter.host.network.usage
vcenter.host.network.throughput
vcenter.host.network.packet.count
vcenter.host.network.packet.errors
vcenter.host.disk.latency.avg
vcenter.host.disk.latency.max
vcenter.host.disk.throughput
These metrics were improperly dimensioned and needed another metric attribute object
in order to properly dimension the data.
receiver.vcenter.emitPerfMetricsWithObjects
is disabled by default.object
metric attribute by defaultreceiver.vcenter.emitPerfMetricsWithObjects
is enabled by default.object
metric attribute.