Documentation ¶
Rendered for windows/amd64
Index ¶
- Constants
- Variables
- type Collector
- func (c *Collector) Build(_ log.Logger, wmiClient *wmi.Client) error
- func (c *Collector) Close() error
- func (c *Collector) Collect(_ *types.ScrapeContext, logger log.Logger, ch chan<- prometheus.Metric) error
- func (c *Collector) GetName() string
- func (c *Collector) GetPerfCounter(_ log.Logger) ([]string, error)
- type Config
- type Win32_PerfRawData_DNS_DNS
Constants ¶
View Source
const Name = "dns"
Variables ¶
View Source
var ConfigDefaults = Config{}
Functions ¶
This section is empty.
Types ¶
type Collector ¶ added in v0.27.0
type Collector struct {
// contains filtered or unexported fields
}
A Collector is a Prometheus Collector for WMI Win32_PerfRawData_DNS_DNS metrics.
func NewWithFlags ¶
func NewWithFlags(_ *kingpin.Application) *Collector
func (*Collector) Collect ¶ added in v0.27.0
func (c *Collector) Collect(_ *types.ScrapeContext, logger log.Logger, ch chan<- prometheus.Metric) error
Collect sends the metric values for each metric to the provided prometheus Metric channel.
type Win32_PerfRawData_DNS_DNS ¶
type Win32_PerfRawData_DNS_DNS struct { AXFRRequestReceived uint32 AXFRRequestSent uint32 AXFRResponseReceived uint32 AXFRSuccessReceived uint32 AXFRSuccessSent uint32 CachingMemory uint32 DatabaseNodeMemory uint32 DynamicUpdateNoOperation uint32 DynamicUpdateQueued uint32 DynamicUpdateRejected uint32 DynamicUpdateTimeOuts uint32 DynamicUpdateWrittentoDatabase uint32 IXFRRequestReceived uint32 IXFRRequestSent uint32 IXFRResponseReceived uint32 IXFRSuccessSent uint32 IXFRTCPSuccessReceived uint32 IXFRUDPSuccessReceived uint32 NbstatMemory uint32 NotifyReceived uint32 NotifySent uint32 RecordFlowMemory uint32 RecursiveQueries uint32 RecursiveQueryFailure uint32 RecursiveSendTimeOuts uint32 SecureUpdateFailure uint32 SecureUpdateReceived uint32 TCPMessageMemory uint32 TCPQueryReceived uint32 TCPResponseSent uint32 UDPMessageMemory uint32 UDPQueryReceived uint32 UDPResponseSent uint32 UnmatchedResponsesReceived uint32 WINSLookupReceived uint32 WINSResponseSent uint32 WINSReverseLookupReceived uint32 WINSReverseResponseSent uint32 ZoneTransferFailure uint32 ZoneTransferSOARequestSent uint32 }
Win32_PerfRawData_DNS_DNS docs: - https://msdn.microsoft.com/en-us/library/ms803992.aspx?f=255&MSPPError=-2147217396 - https://technet.microsoft.com/en-us/library/cc977686.aspx
Click to show internal directories.
Click to hide internal directories.