Sha256: ab6321fe38183109284bf74f6135efcc328639f0e494c8181388c969dc9a6fd5

Contents?: true

Size: 1.74 KB

Versions: 2

Compression:

Stored size: 1.74 KB

Contents

# 1.2.0

Performance related:

* Using `Dir#glob` vs. `Dir#foreach`
* Using `File#read` vs. `cat FILE`. 
* Removing commented out and unused elements from `SysLite::ProcTable`
* Removed method_missing logic in `Processes::Process` to access the `ProcTableStruct`
* `Disk` added caching logic via a `@option[:ttl]` to execute slow system calls at a lower interval (ex: ev 60 seconds)
* `String#lines#to_a` vs. `String#split('\n')` (faster)

## 1.1.1

* Handling Infinite and NaN Process CPU Usage.
* Case-insensitive process count grep, returning 1 processor vs. nil on rescue.

## 1.1.0

* sys/proctable is no longer a dependency in the gemspec.
* Linux systems with the /proc filesystem will return all process metrics
* other systems with sys/proctable installed will try to use sys/proctable, wnd will generally return a list of process names and counts (but no memory/cpu)
* all other systems: no process info returned

## 1.0.3

* Assuming 100 jiffies/second vs. reading from /proc/timer_list

## 1.0.2

* Also grouping under kthread (one d vs. 2 ds)

## 1.0.1

* Grouping kthreadd's children together under the comm "kthreadd"

## 0.1.0

* Optimization for collecting processes on Linux

## 0.0.9.0

* Reporting process memory in MB, not in page size. 
* When determining process cpu usage, caching number of processors.

## 0.0.8.9

* Fix for top cpu-consuming processes in the process list

## 0.0.8.8

* Fix for LVM-mapped disk IO stats

## 0.0.8.5

* Mac per-process memory and per-process CPU reports 0s instead of throwing an exception (Mac only)

## 0.0.8.4

* Normalize load (last minute, etc) by number of CPUs. This keeps the metrics in sync with Scout's server load plugin.

## 0.0.8.3

* Fall back to assumption of 100 jiffies/sec if /proc/timer_list isn't available

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
server_metrics-1.2.0 CHANGELOG.md
server_metrics-1.2.0.pre CHANGELOG.md