Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Agent v2 and v3 metrics pages. #800

Merged
merged 6 commits into from
Sep 23, 2024
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
11 changes: 8 additions & 3 deletions site/content/v2/metrics.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
title: NGINX Agent v2 Metrics
docs: DOCS-000
title: Metrics
catalog: true
catalogType: v2metrics
toc: true
weight: 200
---
docs: DOCS-000
---

{{< v2-metrics >}}
1 change: 0 additions & 1 deletion site/data/.gitkeep

This file was deleted.

1 change: 0 additions & 1 deletion site/data/layouts/.gitkeep

This file was deleted.

57 changes: 57 additions & 0 deletions site/data/v2metrics/client.network.latency.max.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@

---
name: client.network.latency.max
categories:
- advanced-metrics
description:
Maximal network latency on the client-side derived from TCP connection handshake.
If `family` dimension is set to `web`, the request was `http` type
and if the `family` is set to `tcp-udp`, the request was `stream` type.
type: gauge
source: advanced-metrics-module
unit: milliseconds
rate: ""
visible: true
compound_payload: "false"
modules:
- adm
- acm
aggregations:
- MIN
- MAX
- SUM
- AVG
- COUNT
- RATE
dimensions:
- app
- environment
- component
- gateway
- http.hostname
- http.request_method
- http.response_code
- http.upstream_addr
- http.uri
- http.version_schema
- system_id
- hostname
- display_name
- nginx_id
- instance_group
- system.tags
- acm_api_proxy_hostname
- acm_api_proxy_name
- acm_api_proxy_version
- acm_environments_name
- acm_environments_type
- acm_infra_workspaces_name
- acm_service_workspaces_name
- family
- proxied_protocol
- site
- environment_name
- gateway_name
- component_name
- app_name
- site_name
57 changes: 57 additions & 0 deletions site/data/v2metrics/client.request.latency.max.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@

---
name: client.request.latency.max
categories:
- advanced-metrics
description:
Maximal request latency on the client-side derived from HTTP(S) requests.
If `family` dimension is set to `web`, the request was `http` type
and if the `family` is set to `tcp-udp`, the request was `stream` type.
type: gauge
source: advanced-metrics-module
unit: milliseconds
rate: ""
visible: true
compound_payload: "false"
modules:
- adm
- acm
aggregations:
- MIN
- MAX
- SUM
- AVG
- COUNT
- RATE
dimensions:
- app
- environment
- component
- gateway
- http.hostname
- http.request_method
- http.response_code
- http.upstream_addr
- http.uri
- http.version_schema
- system_id
- hostname
- display_name
- nginx_id
- instance_group
- system.tags
- acm_api_proxy_hostname
- acm_api_proxy_name
- acm_api_proxy_version
- acm_environments_name
- acm_environments_type
- acm_infra_workspaces_name
- acm_service_workspaces_name
- family
- proxied_protocol
- site
- environment_name
- gateway_name
- component_name
- app_name
- site_name
57 changes: 57 additions & 0 deletions site/data/v2metrics/client.response.latency.max.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@

---
name: client.response.latency.max
categories:
- advanced-metrics
description:
Maximal response latency on the client-side derived from HTTP(S) requests.
If `family` dimension is set to `web`, the request was `http` type
and if the `family` is set to `tcp-udp`, the request was `stream` type.
type: gauge
source: advanced-metrics-module
unit: milliseconds
rate: ""
visible: true
compound_payload: "false"
modules:
- adm
- acm
aggregations:
- MIN
- MAX
- SUM
- AVG
- COUNT
- RATE
dimensions:
- app
- environment
- component
- gateway
- http.hostname
- http.request_method
- http.response_code
- http.upstream_addr
- http.uri
- http.version_schema
- system_id
- hostname
- display_name
- nginx_id
- instance_group
- system.tags
- acm_api_proxy_hostname
- acm_api_proxy_name
- acm_api_proxy_version
- acm_environments_name
- acm_environments_type
- acm_infra_workspaces_name
- acm_service_workspaces_name
- family
- proxied_protocol
- site
- environment_name
- gateway_name
- component_name
- app_name
- site_name
58 changes: 58 additions & 0 deletions site/data/v2metrics/client.ttfb.latency.max.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@

---
name: client.ttfb.latency.max
categories:
- advanced-metrics
description:
Maximal time measured on the client-side from sending the first byte
of the request until receiving the first byte of the response.
If `family` dimension is set to `web`, the request was `http` type
and if the `family` is set to `tcp-udp`, the request was `stream` type.
type: gauge
source: advanced-metrics-module
unit: milliseconds
rate: ""
visible: true
compound_payload: "false"
modules:
- adm
- acm
aggregations:
- MIN
- MAX
- SUM
- AVG
- COUNT
- RATE
dimensions:
- app
- environment
- component
- gateway
- http.hostname
- http.request_method
- http.response_code
- http.upstream_addr
- http.uri
- http.version_schema
- system_id
- hostname
- display_name
- nginx_id
- instance_group
- system.tags
- acm_api_proxy_hostname
- acm_api_proxy_name
- acm_api_proxy_version
- acm_environments_name
- acm_environments_type
- acm_infra_workspaces_name
- acm_service_workspaces_name
- family
- proxied_protocol
- site
- environment_name
- gateway_name
- component_name
- app_name
- site_name
54 changes: 54 additions & 0 deletions site/data/v2metrics/http.request.bytes_rcvd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@

---
name: http.request.bytes_rcvd
categories:
- advanced-metrics
description: The total number of bytes received from clients.
type: counter
source: advanced-metrics-module
unit: bytes
rate: net_io_rate
visible: true
compound_payload: "false"
modules:
- adm
- acm
aggregations:
- MIN
- MAX
- SUM
- AVG
- COUNT
- RATE
dimensions:
- app
- environment
- component
- gateway
- http.hostname
- http.request_method
- http.response_code
- http.upstream_addr
- http.uri
- http.version_schema
- system_id
- hostname
- display_name
- nginx_id
- instance_group
- system.tags
- acm_api_proxy_hostname
- acm_api_proxy_name
- acm_api_proxy_version
- acm_environments_name
- acm_environments_type
- acm_infra_workspaces_name
- acm_service_workspaces_name
- family
- proxied_protocol
- site
- environment_name
- gateway_name
- component_name
- app_name
- site_name
54 changes: 54 additions & 0 deletions site/data/v2metrics/http.request.bytes_sent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@

---
name: http.request.bytes_sent
categories:
- advanced-metrics
description: The total number of bytes sent from clients.
type: counter
source: advanced-metrics-module
unit: bytes
rate: net_io_rate
visible: true
compound_payload: "false"
modules:
- adm
- acm
aggregations:
- MIN
- MAX
- SUM
- AVG
- COUNT
- RATE
dimensions:
- app
- environment
- component
- gateway
- http.hostname
- http.request_method
- http.response_code
- http.upstream_addr
- http.uri
- http.version_schema
- system_id
- hostname
- display_name
- nginx_id
- instance_group
- system.tags
- acm_api_proxy_hostname
- acm_api_proxy_name
- acm_api_proxy_version
- acm_environments_name
- acm_environments_type
- acm_infra_workspaces_name
- acm_service_workspaces_name
- family
- proxied_protocol
- site
- environment_name
- gateway_name
- component_name
- app_name
- site_name
Loading
Loading