Every few months someone in a platform team asks the same question: “we already pay for VCF Operations, so why is the Kubernetes team building Grafana dashboards?” Or the reverse: “Grafana already shows everything, so why keep VCF Operations?” Both questions assume the two tools do the same job. They overlap on maybe a third of what each one does. This post compares them honestly from the seat of a vSphere team, shows what each side is genuinely good at, where each one has holes, what it costs you to run them, and the coexistence pattern most shops end up with anyway. Every integration point below is checked against Broadcom and upstream documentation as of December 2026, and the ones I could not verify are labelled as such.
Level: intermediate · Stack: VCF Operations 9.1, OpenTelemetry Collector (contrib), Prometheus or Mimir, Loki, Tempo, Grafana · Build time: about 2 hours for the evaluation build, a quarter for a real coexistence rollout
Contents
- The short answer
- Names, editions and what is in the box
- Side by side architecture
- What VCF Operations does well
- What an OpenTelemetry and Grafana stack does well
- The gaps on each side
- Operational effort, honestly
- Licensing and cost: only what I could verify
- Decision matrix
- Scoring template
- Running both: what actually connects
- Templates for the coexistence build
- End-to-end workflow
- Migration and coexistence plan
- Troubleshooting
- What’s next
01. The short answer
VCF Operations is an opinionated management product that already understands vSphere: it knows a VM sits on a host in a cluster backed by a datastore, it knows what “demand” and “contention” mean for each object type, and it turns that knowledge into capacity forecasts, right-sizing, compliance checks and cost views. An OpenTelemetry plus Grafana stack is a set of open building blocks that can collect almost anything, including traces from your applications, and lets you correlate across vSphere, Kubernetes, Linux, network gear and cloud. It knows nothing about vSphere until you teach it.
So the useful question is not “which one wins” but “which questions does each tool answer for which audience”. If your hardest questions are “when do I run out of cluster capacity” and “are my hosts hardened to the VCF Security Configuration Guide”, VCF Operations answers them on day one. If your hardest questions are “why is checkout slow” and “is it the app, the pod, the node VM, the host or the datastore”, you need traces and cross-layer correlation, which is the OTel stack’s home ground. Most teams with both kinds of question end up running both, with a clean split of responsibilities. The rest of this post is about making that decision with evidence rather than opinion.
02. Names, editions and what is in the box
The product has changed names three times, which matters when you search for documentation or knowledge base articles. It was vRealize Operations (vROps), became VMware Aria Operations in the 8.x era, and is VCF Operations from VCF 9.0 onwards. The log product followed the same path (vRealize Log Insight, then Aria Operations for Logs; in VCF 9 its capabilities appear as log management in VCF Operations), as did the network product (vRealize Network Insight, Aria Operations for Networks, now VCF Operations for networks). API paths did not change: the REST API still lives under /suite-api, so old scripts and old KB articles about the API are often still relevant.
Which capabilities you get depends on whether you bought VMware vSphere Foundation (VVF) or VMware Cloud Foundation (VCF). The table below is taken from Broadcom’s VMware Cloud Foundation 9.1.2 and VMware vSphere Foundation 9.1.2: Feature Comparison & Upgrade Paths white paper dated 1 December 2026. I have only listed the rows relevant to this comparison.
| VCF Operations capability (Broadcom wording, abbreviated) | VVF 9.1.2 | VCF 9.1.2 |
|---|---|---|
| Performance monitoring and analytics, troubleshooting with guided remediation | Yes | Yes |
| Log management, logs alerting, logs query API | Yes | Yes |
| Metric visualization using PromQL | Yes | Yes |
| Cost management and optimisation | Yes | Yes |
| Real-time monitoring | No | Yes |
| Real-time predictive capacity management, workload what-if, right-sizing, workload optimisation | No | Yes |
| Compliance management with remediation (security baseline, PCI), custom templates, vSphere hardening | No | Yes |
| Application monitoring (Telegraf agent) | No | Yes |
| Prometheus Management Pack Builder, PromQL API | No | Yes |
| VKS observability (real-time) | No | Yes |
Check your own entitlement. This table reflects one Broadcom document on one date. Edition contents have moved between releases, VCF Edge has its own column in the same document, and what you are entitled to is defined by your contract and your license server, not by a blog. If capacity planning or compliance is the reason you are keeping VCF Operations, confirm you are on an edition that includes it before you plan around it.
Two newer additions are worth knowing about because they blur the line this post is about. VCF Operations 9.1 added a real-time metrics store with PromQL search and saved PromQL dashboards, with collection granularity down to 2 seconds for ESX metrics through policy (20 seconds by default). And VCF Operations 9.1.2, released on 24 November 2026, adds a “Platform Observability” extension whose release notes describe telemetry collection “built on OpenTelemetry and eBPF standards”, RED metrics correlated with host and container saturation, and PromQL editing “for seamless Grafana dashboard migration”. The documented target for that feature is VKS clusters. In other words, Broadcom is moving toward the same open formats, but on its own collection path.
03. Side by side architecture
The structural difference drives almost everything else in this post. VCF Operations collects through cloud proxies running adapters, stores everything in one analytics cluster, and models objects and relationships natively: a VM has a parent host, a host has a parent cluster, a datastore has children. Analytics (dynamic thresholds, capacity models, compliance rules) run against that model. The OTel stack separates collection (Collectors), storage per signal (Prometheus or Mimir for metrics, Loki for logs, Tempo for traces) and presentation (Grafana). Relationships exist only as labels: vcenter.host.name on a VM metric is a string, not an edge in a graph, and any “roll up to cluster” logic is a PromQL expression you write.
That is why VCF Operations is better at questions that need the model (what-if, reclamation, compliance drift) and the OTel stack is better at questions that cross product boundaries (a trace that starts in a browser and ends in a datastore latency graph).
04. What VCF Operations does well
- Capacity planning that understands vSphere. Time remaining, capacity remaining and recommended size are computed per cluster and per datastore, accounting for HA admission control, buffers and reservations. In 9.1 Broadcom raised what-if scenario limits to 10,000 VMs and 200 TB of storage and reworked the forecasting algorithms for explainability. Building an equivalent from
predict_linear()in PromQL gives you a trend line, not a capacity model. - What-if analysis. “If I add 300 VMs of this profile to this cluster next quarter, what breaks first?” is a single workflow. In an OTel stack it is a spreadsheet.
- Compliance and hardening. Assessment against the VCF Security Configuration Guide and PCI DSS v4.0.1 standards, with remediation, out of the box. Nothing in the OpenTelemetry ecosystem does configuration compliance; it is the wrong tool category.
- Right-sizing and reclamation. Oversized VMs, idle VMs, powered-off VMs and orphaned disks, with a cost attached. This needs configuration and property data, not just performance counters.
- Out-of-box vSphere knowledge. A large library of built-in dashboards, symptoms and alert definitions written by people who know what ready time, co-stop and balloon really mean. Day-one value without writing a single query.
- One supported product. One vendor to call, a lifecycle managed through VCF Operations fleet management, and upgrades tested against the rest of VCF.
05. What an OpenTelemetry and Grafana stack does well
- Open formats and no lock-in. OTLP is a vendor-neutral protocol. You can swap Prometheus for Mimir, or Grafana for something else, without re-instrumenting anything.
- Multi-platform by default. The same Collector configuration style covers vCenter, Kubernetes, Linux hosts, syslog from switches and arrays, cloud services and SaaS. One pipeline, one query language per signal.
- Traces. VCF Operations does not do distributed tracing of your applications. If you want to follow one request through services and correlate it with the infrastructure it ran on, you need OTel instrumentation and a trace store such as Tempo.
- Application correlation. Resource attributes such as
k8s.node.name,host.nameandservice.namelet you pivot from a slow span to the pod, to the node VM, to the ESXi host, to the datastore. That is the story of part 6 of the series. - Cost and flexibility. The software is open source (Collector under Apache 2.0, Grafana, Loki, Tempo and Mimir under AGPLv3). Your cost is infrastructure and people, and you decide resolution, retention and cardinality per use case.
- Git-friendly operations. Collector configs, dashboards and alert rules are text files you can review, diff and roll back.
06. The gaps on each side
| Area | VCF Operations gap | OTel + Grafana gap |
|---|---|---|
| Tracing | No application distributed tracing | Strong, but only if you instrument the apps |
| vSphere semantics | None, this is its home ground | You build demand, contention and roll-ups yourself in PromQL |
| Capacity and what-if | Strong in VCF edition | Only trend lines; no reservation or HA aware model |
| Compliance | Strong in VCF edition | Not in scope at all |
| Non-VMware sources | Via management packs, Telegraf and Prometheus MPB; coverage and cost vary | Native: hundreds of receivers |
| vSphere receiver maturity | Mature, vendor supported | The vcenter receiver is alpha for metrics, ships only in the contrib distribution, and its README lists support for vSphere 7.0 and 8. It does not list 9, so test it against VCF 9 before you rely on it. |
| Data export | Outbound plug-ins send notifications, not metrics; metrics leave via REST or PromQL APIs | Everything is open; any backend can read it |
| Support | One vendor | Community, or a commercial distribution you pay for |
| Skills | VCF Operations admin skills, policies, super metrics | PromQL, LogQL, TraceQL, Collector config, Kubernetes for the backends |
The row that surprises people most is the receiver one. “Alpha” in OpenTelemetry terms means configuration and metric names can still change between releases. In practice the vCenter receiver has been usable for a long time, but you must pin your Collector version, read the changelog before upgrading, and keep dashboards tolerant to renamed metrics.
07. Operational effort, honestly
The OTel stack is “free” in the same way a puppy is free. Here is where the hours go on each side for a mid-sized estate (a few hundred hosts, a few thousand VMs), from my own experience running both. Treat the numbers as relative weights, not quotes.
| Task | VCF Operations | OTel + Grafana |
|---|---|---|
| Initial deployment | Appliance deployment through VCF installer or fleet management; hours | Collectors, three storage backends, Grafana, object storage, TLS; days |
| Getting useful vSphere dashboards | Built in | Weeks of PromQL and panel work, or community dashboards you then maintain |
| Upgrades | Vendor-tested bundle, part of VCF lifecycle | Five or more independent release trains; read changelogs for renamed components and metrics |
| Capacity of the monitoring system | Size nodes per sizing guide | You size ingest, cardinality, retention and object storage per backend; see sizing the OTel Collector |
| Alert tuning | Tune symptoms and policies | Write and tune every rule; nothing exists by default |
| Adding a new non-VMware source | Find or build a management pack | Add a receiver block and a pipeline |
| Skills on call | VI admins | VI admins plus someone fluent in PromQL and the backends |
The honest summary: VCF Operations front-loads its effort into money and appliance care, and an OTel stack front-loads it into engineering time. If your team is three VI admins with no Kubernetes or Prometheus experience, the OTel stack will cost you more than the license you think you are saving. If you already run Prometheus and Grafana for Kubernetes, the marginal cost of adding vSphere to it is small.
08. Licensing and cost: only what I could verify
Pricing for VMware products has changed several times since the Broadcom acquisition and differs by contract, region and partner, so I am not going to quote numbers. Here is what I could verify from Broadcom sources as of 1 December 2026:
- VCF Operations is a component of both VMware Cloud Foundation and VMware vSphere Foundation, according to the 9.1.2 feature comparison dated 1 December 2026. It is not a separate purchase for those editions, but several capabilities in the table in section 02 are VCF only.
- Advanced services listed in that document, such as Network Observability by Broadcom, are separate add-on purchases and “not included in the core” VCF or VVF offerings.
- From VCF Operations 9.1, licenses are stored in a license server that is installed automatically with VCF Operations, rather than in VCF Operations itself (9.1 release notes, “What’s new”).
What this means for a cost comparison: if you already own VCF, VCF Operations has no incremental license cost, and the honest comparison is “the engineering and infrastructure cost of the OTel stack” versus “the gaps VCF Operations leaves”. If you own VVF and need capacity planning or compliance, the comparison includes an edition change. On the OTel side, open-source software has no license fee, but you pay for compute, object storage, and the people. If you buy a commercial Grafana or OTel distribution for support, add that. Check your own contract and talk to your Broadcom account team before you put any figure in a business case.
09. Decision matrix
Find the rows that describe your environment. If most of your ticks land in one column, that is your answer. If they split, read section 11.
| Your situation | Lean VCF Operations | Lean OTel + Grafana | Run both |
|---|---|---|---|
| Estate is almost all vSphere VMs, few containers | ✓ | ||
| You own VCF and capacity or compliance reporting is a hard requirement | ✓ | ✓ | |
| Auditors want hardening and PCI evidence from the virtualisation layer | ✓ | ||
| Significant Kubernetes (OpenShift, VKS, upstream) with app teams who want traces | ✓ | ✓ | |
| You already run Prometheus and Grafana for other platforms | ✓ | ✓ | |
| Mixed hypervisors, bare metal or multi-cloud in the same views | ✓ | ||
| You own VVF only and capacity planning is “nice to have” | ✓ | ||
| Small VI team, no PromQL skills, no appetite to run backends | ✓ | ||
| You need one request traced from app to datastore | ✓ | ✓ | |
| Separate VI and platform/SRE teams, each with their own on-call | ✓ |
10. Scoring template
The matrix gets you a direction; a scoring sheet gets you a decision you can defend. Agree weights with stakeholders before anyone scores, otherwise people tune weights to reach the answer they already wanted. Score each option 1 (poor) to 5 (excellent) for your environment, multiply by the weight, and sum. Weights must add up to 100.
| Criterion | Weight (sum 100) | VCF Ops score 1-5 | OTel stack score 1-5 | Both score 1-5 | Evidence / notes |
|---|---|---|---|---|---|
| vSphere capacity planning and what-if | <W1> | ||||
| Compliance and hardening evidence | <W2> | ||||
| Application traces and app-to-infra correlation | <W3> | ||||
| Coverage of non-VMware platforms | <W4> | ||||
| Time to first useful dashboard | <W5> | ||||
| Ongoing engineering effort (higher score = less effort) | <W6> | ||||
| Incremental license and infrastructure cost (higher = cheaper) | <W7> | ||||
| Team skills available today | <W8> | ||||
| Vendor support requirement | <W9> | ||||
| Weighted total (sum of weight x score / 100) | 100 |
If you prefer a spreadsheet, paste this CSV and add a formula column. The <Wn> and score cells are placeholders.
criterion,weight,vcfops,otel,both,notes
vSphere capacity planning and what-if,<W1>,,,,
Compliance and hardening evidence,<W2>,,,,
Application traces and app-to-infra correlation,<W3>,,,,
Coverage of non-VMware platforms,<W4>,,,,
Time to first useful dashboard,<W5>,,,,
Ongoing engineering effort (5 = least effort),<W6>,,,,
Incremental license and infrastructure cost (5 = cheapest),<W7>,,,,
Team skills available today,<W8>,,,,
Vendor support requirement,<W9>,,,,
# total per option = SUMPRODUCT(weight, score) / 100
A score of “Both” is not automatically the maximum of the other two columns. Score it lower on effort and cost, because you are running two systems and someone has to own the boundary between them.
11. Running both: what actually connects
The “run both” pattern only works if responsibilities are split cleanly and the integration points are real. Here is what I could verify in the VCF Operations 9.1 documentation and API reference, and what I could not.
Verified integration points
| Direction | Mechanism | What it carries | Notes |
|---|---|---|---|
| VCF Ops → anything | Outbound plug-ins: Standard Email, SNMP Trap, Webhook Notification, Slack, Service-Now Notification, Log File | Alert notifications, filtered by notification rules | Notifications only. None of the documented plug-ins export metric streams. |
| Prometheus → VCF Ops | Management Pack Builder with Prometheus support (9.1) | Metrics from a Prometheus server, modelled as VCF Ops objects | Listed as VCF (not VVF) in the 9.1.2 feature comparison. This is how OTel-collected metrics can reach VCF Ops. |
| Anything → VCF Ops | POST /suite-api/api/resources/stats | Custom stats pushed onto existing resources | Documented in the VCF Operations API. Pushed stats can go through alert evaluation unless disableAnalyticsProcessing=true. |
| VCF Ops → scripts | /suite-api/api/resources/stats and /stats/query | Historical stats per resource | The usual way to export VCF Ops metrics into another store with a script. |
| VCF Ops → PromQL clients | Real-Time Metrics API: /api/v1/query, /api/v1/query_range, /api/v1/series, /api/v1/labels, /api/v1/sources | Real-time metrics in a Prometheus-compatible shape | Requires a JWT obtained by token exchange and a sourceId parameter (a vCenter UUID or NSX ID). See the caveat below. |
What I could not verify, so do not plan on it
- OTLP ingest into VCF Operations. The 9.1.2 Platform Observability extension is described as “built on OpenTelemetry and eBPF standards”, but I found no documented OTLP endpoint that accepts data from your own Collectors. Treat it as a VKS feature with its own collection, not an OTLP sink.
- Prometheus remote write into VCF Operations. Not documented anywhere I could find.
- Grafana’s Prometheus data source pointed at the Real-Time Metrics API. The paths mirror the Prometheus HTTP API, and Grafana’s Prometheus data source does let you add custom query parameters (so
sourceIdcould be supplied) and custom headers. But the JWT comes from a token exchange and expires, and Grafana has no built-in way to refresh it. I have not seen this working end to end. Prototype it with the probe script in section 12 before promising it to anyone. - A supported Grafana data source plugin for VCF Operations. There is a community plugin on GitHub for Aria Operations; it is not a Grafana Labs or Broadcom product, and I have not tested it against 9.1.
The split that works
| Question | Owner | Why |
|---|---|---|
| When does cluster X run out of capacity? | VCF Operations | Capacity model includes HA, buffers, reservations |
| Is this host hardened? Show the auditor. | VCF Operations | Compliance packs with remediation |
| Which VMs can we reclaim? | VCF Operations | Needs property and configuration data |
| Why is the checkout API slow right now? | OTel + Grafana | Traces plus k8s and vSphere metrics on one time axis |
| Is the node VM under the slow pod contended? | OTel + Grafana | Join on node name; see part 6 of the series |
| Are ESXi logs showing APD or path failures? | OTel + Grafana (Loki) | Covered in part 3 and catching NFS APD |
| Host down, datastore full, hardware alarm | vCenter alarms, forwarded by VCF Ops | Do not duplicate these in Grafana |
One alert router, two sources. The failure mode of “run both” is double paging: VCF Operations and Grafana both alert on the same datastore. Pick one owner per condition, write it down in the table above, and route both systems into the same on-call tool so duplicates are at least visible.
12. Templates for the coexistence build
These templates build the OTel half of the coexistence topology and the glue to VCF Operations. They assume a Linux VM (or container host) next to Grafana, a Prometheus with the remote-write receiver enabled, and a dedicated read-only vCenter account for the Collector, separate from the one VCF Operations uses. Separate accounts mean you can tell the two pollers apart in vCenter sessions and lock one out without breaking the other.
12.1 OTel Collector config for vCenter metrics
Use the otelcol-contrib distribution; the vCenter receiver is not in the core distribution. Pin the version. This file goes in /etc/otelcol-contrib/config.yaml.
# /etc/otelcol-contrib/config.yaml
# otelcol-contrib 0.166.0 (pin it). vcenter receiver stability: alpha (metrics).
extensions:
health_check:
endpoint: 0.0.0.0:13133
receivers:
vcenter:
endpoint: https://<VCENTER_FQDN>
username: ${env:VCENTER_USER}
password: ${env:VCENTER_PASSWORD}
collection_interval: 5m # match the 5 minute historical rollup
initial_delay: 10s
max_query_metrics: 256 # keep <= vpxd.stats.maxQueryMetrics on vCenter
tls:
ca_file: /etc/otelcol-contrib/vcenter-ca.pem
insecure_skip_verify: false
processors:
memory_limiter:
check_interval: 1s
limit_percentage: 75
spike_limit_percentage: 20
resource/vcenter:
attributes:
- key: vcenter.server # our own label so multi-vCenter dashboards can filter
value: <VCENTER_FQDN>
action: upsert
- key: monitoring.source
value: otel
action: upsert
batch:
send_batch_size: 8192
timeout: 10s
exporters:
prometheus_remote_write:
http:
endpoint: http://<PROMETHEUS_HOST>:9090/api/v1/write
resource_constant_labels:
included: ["*"] # turn vcenter.* resource attributes into labels
external_labels:
collector: <COLLECTOR_NAME>
service:
extensions: [health_check]
telemetry:
metrics:
readers:
- pull:
exporter:
prometheus:
host: 0.0.0.0
port: 8888
pipelines:
metrics/vcenter:
receivers: [vcenter]
processors: [memory_limiter, resource/vcenter, batch]
exporters: [prometheus_remote_write]
Component names are moving. Contrib releases from roughly v0.144 to v0.154 renamed many components to snake_case and kept the old names as deprecated aliases:
prometheusremotewritebecameprometheus_remote_write,kubeletstatsbecamekubelet_stats, and the coreotlpandotlphttpexporters becameotlp_grpcandotlp_http(theotlpreceiver kept its name). The remote write exporter also moved its HTTP settings under anhttp:block and deprecatedresource_to_telemetry_conversionin favour ofresource_constant_labels. The config above uses the current names and validates withotelcol-contrib validateon 0.166.0. If you are pinned to an older release, the old spellings are what it accepts.
12.2 Secrets and service
The otelcol-contrib Linux packages ship a systemd unit that reads an environment file. Put the credentials there, not in the YAML.
# /etc/otelcol-contrib/otelcol-contrib.conf (chmod 600, owner root)
OTELCOL_OPTIONS="--config=/etc/otelcol-contrib/config.yaml"
VCENTER_USER=<SVC_OTEL_READONLY>@vsphere.local
VCENTER_PASSWORD=<SET_FROM_YOUR_VAULT>
sudo chmod 600 /etc/otelcol-contrib/otelcol-contrib.conf
sudo systemctl daemon-reload
sudo systemctl enable --now otelcol-contrib
sudo systemctl status otelcol-contrib --no-pager
12.3 VCF Operations Real-Time Metrics API probe
This script follows the documented three-step token flow (acquire an OpsToken, find the service with type VCF_VODAP, exchange it for a JWT) and then calls the Prometheus-style discovery endpoints. It deliberately does not guess metric names; it lists what your instance actually exposes. Run it before you design anything that depends on this API.
#!/usr/bin/env bash
# vcfops-rtm-probe.sh - probe the VCF Operations 9.1 Real-Time Metrics API
# Requires: curl, jq. Env: VCFOPS_FQDN, VCFOPS_USER, VCFOPS_PASSWORD
# Optional: VCFOPS_AUTH_SOURCE (for LDAP/AD users), RTM_BASE, CURL_CA (CA bundle path)
set -euo pipefail
: "${VCFOPS_FQDN:?set VCFOPS_FQDN}"
: "${VCFOPS_USER:?set VCFOPS_USER}"
: "${VCFOPS_PASSWORD:?set VCFOPS_PASSWORD}"
SUITE="https://${VCFOPS_FQDN}/suite-api"
RTM_BASE="${RTM_BASE:-https://${VCFOPS_FQDN}}" # API reference shows https://<fqdn>/api/v1/...
CURL=(curl -sS --fail-with-body)
[ -n "${CURL_CA:-}" ] && CURL+=(--cacert "$CURL_CA")
echo "1) Acquiring OpsToken"
body=$(jq -n --arg u "$VCFOPS_USER" --arg p "$VCFOPS_PASSWORD" --arg a "${VCFOPS_AUTH_SOURCE:-}" \
'if $a == "" then {username:$u,password:$p} else {username:$u,password:$p,authSource:$a} end')
OPS_TOKEN=$("${CURL[@]}" -X POST "$SUITE/api/auth/token/acquire" \
-H 'Content-Type: application/json' -H 'Accept: application/json' -d "$body" | jq -r .token)
[ -n "$OPS_TOKEN" ] && [ "$OPS_TOKEN" != "null" ] || { echo "no token"; exit 1; }
echo "2) Looking up the real-time metrics service key (type VCF_VODAP)"
SERVICE_KEY=$("${CURL[@]}" "$SUITE/api/integrations/services" \
-H "Authorization: OpsToken $OPS_TOKEN" -H 'Accept: application/json' \
| jq -r '.servicesDetails[]? | select(.type=="VCF_VODAP") | .key' | head -n1)
[ -n "$SERVICE_KEY" ] || { echo "VCF_VODAP service not found; is real-time metrics enabled?"; exit 1; }
echo " service key: $SERVICE_KEY"
echo "3) Exchanging for a JWT"
EXCH=$("${CURL[@]}" -X POST "$SUITE/api/auth/token/exchange?includeServiceDetails=true" \
-H "Authorization: OpsToken $OPS_TOKEN" -H 'Content-Type: application/json' \
-d "$(jq -n --arg k "$SERVICE_KEY" '{serviceKeys:[$k]}')")
JWT=$(echo "$EXCH" | jq -r .jwtToken)
echo "$EXCH" | jq '.services[]? | {name,type,address,port,basePath,version}'
echo "4) Listing sources (vCenter / NSX IDs usable as sourceId)"
"${CURL[@]}" "$RTM_BASE/api/v1/sources" -H "Authorization: Bearer $JWT" | jq .
SOURCE_ID="${SOURCE_ID:-}"
if [ -n "$SOURCE_ID" ]; then
echo "5) First 20 metric names for source $SOURCE_ID"
"${CURL[@]}" -G "$RTM_BASE/api/v1/label/__name__/values" \
--data-urlencode "sourceId=$SOURCE_ID" -H "Authorization: Bearer $JWT" | jq -r '.data[]?' | head -n 20
if [ -n "${PROMQL:-}" ]; then
echo "6) Instant query: $PROMQL"
"${CURL[@]}" -G "$RTM_BASE/api/v1/query" --data-urlencode "query=$PROMQL" \
--data-urlencode "sourceId=$SOURCE_ID" -H "Authorization: Bearer $JWT" | jq '.status, (.data.result // [] | length)'
fi
else
echo "Set SOURCE_ID=<id from step 4> (and optionally PROMQL='<metric name>') and re-run."
fi
If step 4 returns 404, compare RTM_BASE with the address, port and basePath printed in step 3 and set RTM_BASE accordingly. The API reference shows https://<vcf-operations-fqdn>/api/v1/..., but deployments differ, and that is exactly what this probe is for.
12.4 Pushing an OTel-derived stat into VCF Operations (optional)
If your VI team lives in VCF Operations and wants to see, for example, an application’s p95 latency on the VM object, push it with the documented stats API rather than building a second dashboard. Look up the resource ID first, then post the stat. Use a key prefix such as OTel| so nobody confuses it with a native metric.
# Resolve the VM resource ID (VMWARE adapter, VirtualMachine kind)
curl -sS -G "https://${VCFOPS_FQDN}/suite-api/api/resources" \
-H "Authorization: OpsToken ${OPS_TOKEN}" -H 'Accept: application/json' \
--data-urlencode 'resourceKind=VirtualMachine' --data-urlencode 'name=<VM_NAME>' \
| jq -r '.resourceList[] | [.identifier, .resourceKey.name] | @tsv'
# Push one sample (timestamps in epoch milliseconds)
NOW_MS=$(($(date +%s) * 1000))
curl -sS -X POST "https://${VCFOPS_FQDN}/suite-api/api/resources/stats" \
-H "Authorization: OpsToken ${OPS_TOKEN}" -H 'Content-Type: application/json' \
-d "{\"resource-stat-content\":[{\"id\":\"<RESOURCE_ID>\",\"stat-contents\":[{\"statKey\":\"OTel|checkout_p95_ms\",\"timestamps\":[${NOW_MS}],\"data\":[<VALUE>]}]}]}" \
-w '%{http_code}\n'
A 200 means the stat was accepted. Broadcom’s reference notes that pushes go through the default API adapter instance and recommends this call for resources created through the API, so test on one VM first and check the resource’s metric list in the UI before you automate it.
12.5 Grafana alert rules (file provisioning)
Two rules that belong in Grafana rather than VCF Operations: a pipeline health rule (if the Collector stops, nothing else will tell you), and a datastore trend rule for the datastores your platform team owns. Metric names assume the remote write exporter’s default translation strategy (UnderscoreEscapingWithSuffixes), so vcenter.datastore.disk.utilization (unit %) becomes vcenter_datastore_disk_utilization_percent. Check the exact names in Grafana Explore before you load this.
# /etc/grafana/provisioning/alerting/vsphere-otel-rules.yaml
apiVersion: 1
groups:
- orgId: 1
name: vsphere-otel
folder: vSphere (OTel)
interval: 1m
rules:
- uid: vsphere-otel-pipeline-down
title: vCenter OTel pipeline has stopped
condition: C
data:
- refId: A
relativeTimeRange: { from: 900, to: 0 }
datasourceUid: <PROMETHEUS_DS_UID>
model:
refId: A
expr: absent_over_time(vcenter_host_cpu_utilization_percent{monitoring_source="otel"}[15m])
instant: true
- refId: B
datasourceUid: __expr__
model:
refId: B
type: reduce
expression: A
reducer: last
- refId: C
datasourceUid: __expr__
model:
refId: C
type: threshold
expression: B
conditions:
- evaluator: { type: gt, params: [0] }
noDataState: OK
execErrState: Error
for: 5m
labels: { severity: critical, team: platform }
annotations:
summary: No vCenter metrics from the OTel Collector for 15 minutes
runbook_url: <RUNBOOK_URL>
- uid: vsphere-otel-datastore-trend
title: Datastore projected above 95 percent within 14 days
condition: C
data:
- refId: A
relativeTimeRange: { from: 604800, to: 0 }
datasourceUid: <PROMETHEUS_DS_UID>
model:
refId: A
expr: predict_linear(vcenter_datastore_disk_utilization_percent[7d], 14 * 86400)
instant: true
- refId: B
datasourceUid: __expr__
model:
refId: B
type: reduce
expression: A
reducer: last
- refId: C
datasourceUid: __expr__
model:
refId: C
type: threshold
expression: B
conditions:
- evaluator: { type: gt, params: [95] }
noDataState: NoData
execErrState: Error
for: 1h
labels: { severity: warning, team: platform }
annotations:
summary: "Datastore {{ $labels.vcenter_datastore_name }} trends past 95% in 14 days"
Notice what is not in that file: host down, datastore full and hardware health. vCenter alarms, forwarded through VCF Operations, already cover those and have state Grafana does not.
13. End-to-end workflow
From nothing to a working coexistence pilot. Each step has a check and the output you should expect.
- Create the Collector’s vCenter account. A dedicated local or directory user with the Read Only role propagated from the vCenter root. Check:
GOVC_URL=<VCENTER_FQDN> GOVC_USERNAME=<USER> GOVC_PASSWORD="$VCENTER_PASSWORD" govc about. Expected:FullName: VMware vCenter Server ...with your build number. Then confirm in the vSphere Client that this user cannot edit a VM. - Enable remote write on Prometheus. Start Prometheus with
--web.enable-remote-write-receiver. Check:curl -s -o /dev/null -w "%{http_code}\n" -X POST http://<PROMETHEUS_HOST>:9090/api/v1/write. Expected: a 4xx such as400or415(the endpoint exists and rejects the empty request). A404means the flag is missing. - Install and start the Collector with the config and env file from 12.1 and 12.2. Check:
curl -s http://localhost:13133/. Expected: JSON containing"status":"Server available". - Confirm the receiver is scraping. Check:
curl -s http://localhost:8888/metrics | grep otelcol_receiver_accepted_metric_points. Expected: a line withreceiver="vcenter"and a value that grows every 5 minutes. (Depending on version the name may carry a_totalsuffix.) - Confirm data in Prometheus. Check:
curl -s "http://<PROMETHEUS_HOST>:9090/api/v1/query" --data-urlencode "query=count(vcenter_host_cpu_utilization_percent)". Expected:"status":"success"and a value equal to your connected host count. - Load the Grafana alert rules from 12.5 and restart Grafana. Check:
curl -s -u admin:"$GRAFANA_ADMIN_PASSWORD" http://<GRAFANA_HOST>:3000/api/v1/provisioning/alert-rules | jq -r ".[].title". Expected: both rule titles listed. - Configure the VCF Operations webhook. In Outbound Settings (documented under Configuring Alerts and Actions), add a Webhook Notification plug-in instance pointing at your alert router, then add a notification rule scoped to the alert definitions VCF Operations owns. Check: send a test from the plug-in dialog. Expected: the router receives a test event.
- Probe the Real-Time Metrics API with the script in 12.3. Expected: a JWT, a list of sources, and metric names for one vCenter source. If any step fails, note it as a gap before anyone designs around this API.
- Write the ownership table from section 11 for your environment and get the VI and platform leads to sign it. Check: every alert in both systems has exactly one owner. Expected: zero conditions alerting in both tools.
14. Migration and coexistence plan
Whether you are moving some monitoring from VCF Operations to the OTel stack or adding the OTel stack alongside, do it in phases with exit criteria. Ripping out VCF Operations in one go is how teams lose capacity reporting nobody knew finance depended on.
| Phase | Duration (typical) | Work | Exit criteria |
|---|---|---|---|
| 0. Inventory | 1 to 2 weeks | List every VCF Ops dashboard, report, alert and outbound rule with its consumer. Export reports that go to finance or audit. | Every artefact has a named consumer or is marked unused |
| 1. Parallel collect | 2 to 4 weeks | Deploy the OTel pipeline (section 12) with its own vCenter account. No alerts yet. | Host and VM counts in Prometheus match vCenter; vCenter load unchanged within noise |
| 2. Split ownership | 2 weeks | Agree the ownership table. Move app, Kubernetes and log alerts to Grafana. Keep capacity, compliance and vSphere health in VCF Ops. Route both to one alert router. | No condition alerts in both tools for 2 weeks |
| 3. Correlate | 4 weeks | Add traces and Kubernetes telemetry; build the trace-to-datastore view from part 6. | One real incident triaged end to end in Grafana |
| 4. Decide | 1 week | Rescore with the template in section 10 using what you learned. Decide whether VCF Ops scope shrinks, stays or grows. | Signed decision with evidence, reviewed again at next renewal |
If the outcome is to retire VCF Operations entirely, add a phase between 3 and 4 that rebuilds every artefact from phase 0 that has a live consumer, and runs both for a full reporting cycle (usually a quarter) so month-end and quarter-end reports are proven before you switch anything off.
15. Troubleshooting
| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| Collector logs x509 errors on start | vCenter CA not trusted | openssl s_client -connect <VCENTER_FQDN>:443 -showcerts | Download the vCenter root CA from https://<VCENTER_FQDN>/certs/download.zip and set tls.ca_file. Do not ship with insecure_skip_verify. |
vCenter fault mentioning vpxd.stats.maxQueryMetrics | Batch larger than vCenter allows | vCenter Advanced Settings | Set max_query_metrics at or below the vCenter value |
| Remote write returns 404 | Prometheus remote-write receiver not enabled | Workflow step 2 | Add --web.enable-remote-write-receiver |
| Metric names in Grafana differ from this post | Translation strategy or Collector version | Grafana Explore, metric browser | Adjust queries; set translation_strategy explicitly so upgrades do not rename series |
| Pipeline-down alert fires after a Collector upgrade | Renamed component or metric | journalctl -u otelcol-contrib for config or deprecation errors | Read the release notes, rename, pin the version |
Real-time API probe: no VCF_VODAP service | Real-time metrics not deployed, or edition without it | Fleet management components list; edition table in section 02 | Enable the component or accept the gap |
| Real-time API returns 401 after a while | JWT expired | Re-run the probe | Refresh the token on a schedule; do not paste a JWT into a long-lived Grafana data source |
| Same datastore alert pages twice | Ownership not split | Ownership table | Disable one side; route both systems to one router |
| VCF Ops shows a second “API” adapter instance after a stats push | Stats pushed to resources not created by the API | Administration, integrations | Expected behaviour per the API reference; push to a test VM first and decide if you can live with it |
16. What’s next
If you are starting the OTel half from scratch, begin with part 1 of the OTel for vSphere admins series, which places OTel next to VCF Operations, Prometheus and Telegraf, then build the vCenter pipeline in part 2 and the backends in part 4. Size the Collector with sizing the OTel Collector for vSphere. If your Kubernetes runs on OpenShift, OpenTelemetry on OpenShift on vSphere covers the Red Hat build of OpenTelemetry and how to join node VMs to vCenter data. For the older Telegraf and InfluxDB route and the design decisions behind polling vCenter, see wiring Grafana into vCenter.
Facts in this post were checked on 1 December 2026 against the VCF 9.1.2 feature comparison white paper (dated 1 December 2026), the VCF Operations 9.1 and 9.1.2.0 release notes, the VCF Operations and Real-Time Metrics API references on developer.broadcom.com, and the opentelemetry-collector-contrib repository. Editions, APIs and component names change; verify against your own versions and your own contract before you commit to a design.
Leave a Reply