Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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.0"
changes:
- description: Add metric_type for pool and process data streams.
type: enhancement
link: https://github.com/elastic/integrations/pull/7527
- version: "0.5.0"
changes:
- description: Rename ownership from obs-service-integrations to obs-infraobs-integrations
Expand Down
1 change: 1 addition & 0 deletions 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 Down
2 changes: 2 additions & 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 All @@ -42,6 +43,7 @@
- name: start_time
type: long
description: The date/time at which the process started.
metric_type: counter
Comment thread
ritalwar marked this conversation as resolved.
Outdated
- name: state
type: keyword
description: The state of the process.
6 changes: 3 additions & 3 deletions packages/php_fpm/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ 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 |
Expand Down Expand Up @@ -270,10 +270,10 @@ 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 | | |
| php_fpm.process.start_time | The date/time at which the process started. | long | | counter |
| php_fpm.process.state | The state of the process. | keyword | | |
| process.pid | Process id. | long | | |
| tags | List of keywords used to tag each event. | keyword | | |
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.5.0"
version: "0.6.0"
description: This Elastic integration collects metrics from PHP-FPM.
type: integration
categories:
Expand Down