Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/php_fpm/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.6.1"
changes:
- description: Add metric_type for pool and process data streams.
type: enhancement
link: https://github.com/elastic/integrations/pull/7527
- version: "0.6.0"
changes:
- description: Add service.address field and update dashboard.
Expand Down
2 changes: 1 addition & 1 deletion packages/php_fpm/data_stream/pool/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
- name: children_reached.max
type: long
description: Has the maximum number of processes ever been reached? If so the displayed value is 1 otherwise the value is 0.
metric_type: gauge
- name: count
type: long
description: The current total number of processes.
Expand All @@ -69,4 +70,3 @@
- name: start_time
type: long
description: The date/time that the process pool was last started.
metric_type: counter
1 change: 1 addition & 0 deletions packages/php_fpm/data_stream/process/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
type: long
description: The maximum amount of memory consumed by the last request. This will be 0 if the process is not Idle because the calculation is done when the request processing is complete.
metric_type: gauge
unit: byte
- name: script
type: keyword
description: The full path of the script executed by the last request. This will be '-' if not applicable (eg. status page requests).
Expand Down
6 changes: 3 additions & 3 deletions packages/php_fpm/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,12 @@ An example event for `pool` looks as following:
| php_fpm.pool.process_manager.type | The process manager type - static, dynamic or ondemand. | keyword | | |
| php_fpm.pool.processes.active.count | The number of processes that are currently processing requests. | long | | gauge |
| php_fpm.pool.processes.active.max | The maximum number of concurrently active processes. | long | | gauge |
| php_fpm.pool.processes.children_reached.max | Has the maximum number of processes ever been reached? If so the displayed value is 1 otherwise the value is 0. | long | | |
| php_fpm.pool.processes.children_reached.max | Has the maximum number of processes ever been reached? If so the displayed value is 1 otherwise the value is 0. | long | | gauge |
| php_fpm.pool.processes.count | The current total number of processes. | long | | gauge |
| php_fpm.pool.processes.idle | The number of processes that are currently idle (waiting for requests). | long | | gauge |
| php_fpm.pool.slow_requests | The total number of requests that have hit the configured request_slowlog_timeout. | long | | counter |
| php_fpm.pool.start_since | The time in seconds since the process pool was last started. | long | s | counter |
| php_fpm.pool.start_time | The date/time that the process pool was last started. | long | | counter |
| php_fpm.pool.start_time | The date/time that the process pool was last started. | long | | |
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword | | |
| tags | List of keywords used to tag each event. | keyword | | |

Expand Down Expand Up @@ -373,7 +373,7 @@ An example event for `process` looks as following:
| php_fpm.process.request.count | The total number of requests served. | long | | counter |
| php_fpm.process.request.duration | The duration in microseconds of the requests. | long | micros | gauge |
| php_fpm.process.request.last.cpu.pct | The %cpu of the last request. This will be 0 if the process is not Idle because the calculation is done when the request processing is complete. | long | percent | gauge |
| php_fpm.process.request.last.memory | The maximum amount of memory consumed by the last request. This will be 0 if the process is not Idle because the calculation is done when the request processing is complete. | long | | gauge |
| php_fpm.process.request.last.memory | The maximum amount of memory consumed by the last request. This will be 0 if the process is not Idle because the calculation is done when the request processing is complete. | long | byte | gauge |
| php_fpm.process.script | The full path of the script executed by the last request. This will be '-' if not applicable (eg. status page requests). | keyword | | |
| php_fpm.process.start_since | The number of seconds since the process started. | long | s | counter |
| php_fpm.process.start_time | The date/time at which the process started. | long | | |
Expand Down
2 changes: 1 addition & 1 deletion packages/php_fpm/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 2.0.0
name: php_fpm
title: PHP-FPM
version: "0.6.0"
version: "0.6.1"
description: This Elastic integration collects metrics from PHP-FPM.
type: integration
categories:
Expand Down