Documentation
¶
Index ¶
Constants ¶
View Source
const MetricName = "docker"
Variables ¶
View Source
var ( ConfigEndpoint = "endpoint" ConfigGatherServices = "gather_services" ConfigContainerNames = "container_names" ConfigContainerNameInclude = "container_name_include" ConfigContainerNameExclude = "container_name_exclude" ConfigContainerStateInclude = "container_state_include" ConfigContainerStateExclude = "container_state_exclude" ConfigPerDevice = "perdevice" ConfigTotal = "total" ConfigInsecureSkipVerify = "insecure_skip_verify" ConfigTLSCA = "tls_ca" ConfigTLSCert = "tls_cert" ConfigTLSKey = "tls_key" StatsNCPU = "n_cpus" StatsNFd = "n_used_file_descriptors" StatsContainers = "n_containers" StatsContainersRunning = "n_containers_running" StatsContainersStopped = "n_containers_stopped" StatsContainersPaused = "n_containers_paused" StatsImages = "n_images" StatsNGoroutines = "n_goroutines" StatsNEventsListener = "n_listener_events" StatsMemoryTotal = "memory_total" StatsPoolBlocksize = "pool_blocksize" StatsOOMKilled = "oomkilled" StatsPid = "pid" StatsExitCode = "exitcode" StatsHealthStatus = "health_status" StatsFailingStreak = "failing_streak" // memstats StatsActiveAnon = "active_anon" StatsActiveFile = "active_file" StatsCache = "cache" StatsHierarchicalMemoryLimit = "hierarchical_memory_limit" StatsInactiveAnon = "inactive_anon" StatsInactiveFile = "inactive_file" StatsMappedFile = "mapped_file" StatsPgFault = "pgfault" StatsPgMajFault = "pgmajfault" StatsPgPgIn = "pgpgin" StatsPgPgOut = "pgpgout" StatsRss = "rss" StatsRssHuge = "rss_huge" StatsUnevictable = "unevictable" StatsWriteback = "writeback" StatsTotalActiveAnon = "total_active_anon" StatsTotalActiveFile = "total_active_file" StatsTotalCache = "total_cache" StatsTotalInactiveAnon = "total_inactive_anon" StatsTotalInaciveFile = "total_inactive_file" StatsTotalMappedFile = "total_mapped_file" StatsTotalPgFault = "total_pgfault" StatsTotalPgMajFault = "total_pgmajfault" StatsTotalPgPgIn = "total_pgpgin" StatsTotalPgPgOut = "total_pgpgout" StatsTotalRss = "total_rss" StatsTotalRssHuge = "total_rss_huge" StatsTotalUnevictable = "total_unevictable" StatsTotalWriteback = "total_writeback" StatsFailCount = "fail_count" StatsLimit = "limit" StatsMaxUsage = "max_usage" StatsUsage = "usage" StatsWindowsCommitBytes = "commit_bytes" StatsWindowsCommitPeakBytes = "commit_peak_bytes" StatsWindowsPrivatWorkingSet = "private_working_set" // swarm info StatsTasksRunning = "tasks_running" StatsWTasksDesired = "tasks_desired" // cpu StatsUsageTotal = "usage_total" StatsUsageInUsermode = "usage_in_usermode" StatsUsageInKernalmode = "usage_in_kernelmode" StatsUsageSystem = "usage_system" StatsThrottlingPeriods = "throttling_periods" StatsThrottlingThrottledPeriods = "throttling_throttled_periods" StatsThrottlingThrottledTime = "throttling_throttled_time" StatsContainerId = "container_id" StatsUsagePercent = "usage_percent" // net StatsRxDropped = "rx_dropped" StatsRxBytes = "rx_bytes" StatsRxErrors = "rx_errors" StatsTxPackets = "tx_packets" StatsTxDropped = "tx_dropped" StatsRxPackets = "rx_packets" StatsTxErrors = "tx_errors" StatsTxBytes = "tx_bytes" // block io stats StatsIOTimeRecursive = "io_time_recursive" StatsSectorsRecursive = "sectors_recursive" )
Functions ¶
func NewCollector ¶
NewCollector creates a new Elasticsearch collector.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.