wilx
wilx

Reputation: 18248

Are VMWare pefromance metric IDs stable?

I am monitoring VMWare vCenter hosts and VMs using VMWare's .NET SDK. I am using the metric key as a key in a database. How stable are those keys? I could not find any word about it in the documentation. Do they change depending on VMWare/vSphere version? Or with each restart of the server?

Upvotes: 0

Views: 101

Answers (1)

Anton Tykhyy
Anton Tykhyy

Reputation: 20086

You shouldn't do that, these keys do change — at least between versions. You want to use the string keys, like mem.consumed.average, and map them to keys for each host using PerfCounterInfo[] PerfManager.perfCounters.

Upvotes: 1

Related Questions