public class WindowsPerformanceCounterFeed extends AbstractFeed
To use this feed, you must provide the entity, and a collection of mappings between Windows performance counter names and Brooklyn attribute sensors.
This feed uses WinRM to invoke the windows utility typeperf to query for a specific set of performance counters, by name. The values are extracted from the response, and published to the entity's sensors.
Example:
{@code| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsPerformanceCounterFeed.Builder |
AbstractEntityAdjunct.AdjunctTagSupport, AbstractEntityAdjunct.BasicSubscriptionSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<java.util.Collection<WindowsPerformanceCounterPollConfig<?>>> |
POLLS |
ONLY_IF_SERVICE_UPHIGHLIGHT_NAME_LAST_ACTION, HIGHLIGHT_NAME_LAST_CONFIRMATION, HIGHLIGHT_NAME_LAST_VIOLATION, HIGHLIGHT_NAME_TRIGGERS| Constructor and Description |
|---|
WindowsPerformanceCounterFeed()
For rebind; do not call directly; use builder
|
| Modifier and Type | Method and Description |
|---|---|
static WindowsPerformanceCounterFeed.Builder |
builder() |
destroy, getEntity, getRebindSupport, isActivated, isRunning, isSuspended, relations, resume, setEntity, start, stop, suspendconfig, configure, getAdjunctType, getConfig, getDisplayName, getExecutionContext, getHighlights, getManagementContext, getUniqueTag, isDestroyed, setDisplayName, setHighlights, subscriptions, tags, toStringaddSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, init, rebind, setCatalogItemId, setCatalogItemIdAndSearchPath, setManagementContext, stackCatalogItemIdequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHighlights, getId, getUniqueTag, isDestroyedgetCatalogItemId, getCatalogItemIdSearchPath, getDisplayName, subscriptions, tagsconfig, getConfigaddSearchPath, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemIdpublic static final ConfigKey<java.util.Collection<WindowsPerformanceCounterPollConfig<?>>> POLLS
public WindowsPerformanceCounterFeed()
public static WindowsPerformanceCounterFeed.Builder builder()