add basic dashboard info for NGINX Plus (#14080)
Ilya Mashchenko committed
Dec 2, 2022 at 11:58 UTC
f4076eb37a271af03669b806531ba33d3a11cd12
1 file changed
+144
web/gui/dashboard_info.js
+144
@@ -4418,6 +4418,150 @@ netdataDashboard.context = {
4418
]
4419
},
4420
4421
+ // ------------------------------------------------------------------------
4422
+ // NGINX Plus
4423
+ 'nginxplus.client_connections_rate': {
4424
+ info: 'Accepted and dropped (not handled) connections. A connection is considered <b>dropped</b> if the worker process is unable to get a connection for the request by establishing a new connection or reusing an open one.'
4425
+ },
4426
+ 'nginxplus.client_connections_count': {
4427
+ info: 'The current number of client connections. A connection is considered <b>idle</b> if there are currently no active requests.'
4428
+ },
4429
+ 'nginxplus.ssl_handshakes_rate': {
4430
+ info: 'Successful and failed SSL handshakes.'
4431
+ },
4432
+ 'nginxplus.ssl_session_reuses_rate': {
4433
+ info: 'The number of session reuses during SSL handshake.'
4434
+ },
4435
+ 'nginxplus.ssl_handshakes_failures_rate': {
4436
+ info: '<p>SSL handshake failures.</p><p><b>NoCommonProtocol</b> - failed because of no common protocol. <b>NoCommonCipher</b> - failed because of no shared cipher. <b>Timeout</b> - failed because of a timeout. <b>PeerRejectedCert</b> - failed because a client rejected the certificate.</p>'
4437
+ },
4438
+ 'nginxplus.ssl_verification_errors_rate': {
4439
+ info: '<p>SSL verification errors.</p><p><b>NoCert</b> - a client did not provide the required certificate. <b>ExpiredCert</b> - an expired or not yet valid certificate was presented by a client. <b>RevokedCert</b> - a revoked certificate was presented by a client. <b>HostnameMismatch</b> - server\'s certificate does not match the hostname. <b>Other</b> - other SSL certificate verification errors.</p>'
4440
+ },
4441
+ 'nginxplus.http_requests_rate': {
4442
+ info: 'The number of HTTP requests received from clients.'
4443
+ },
4444
+ 'nginxplus.http_requests_count': {
4445
+ info: 'The current number of client requests.'
4446
+ },
4447
+ 'nginxplus.uptime': {
4448
+ info: 'The time elapsed since the NGINX process was started.'
4449
+ },
4450
+ 'nginxplus.http_server_zone_requests_rate': {
4451
+ info: 'The number of requests to the HTTP Server Zone.'
4452
+ },
4453
+ 'nginxplus.http_server_zone_responses_per_code_class_rate': {
4454
+ info: 'The number of responses from the HTTP Server Zone. Responses grouped by HTTP status code class.'
4455
+ },
4456
+ 'nginxplus.http_server_zone_traffic_rate': {
4457
+ info: 'The amount of data transferred to and from the HTTP Server Zone.'
4458
+ },
4459
+ 'nginxplus.http_server_zone_requests_processing_count': {
4460
+ info: 'The number of client requests that are currently being processed by the HTTP Server Zone.'
4461
+ },
4462
+ 'nginxplus.http_server_zone_requests_discarded_rate': {
4463
+ info: 'The number of requests to the HTTP Server Zone completed without sending a response.'
4464
+ },
4465
+ 'nginxplus.http_location_zone_requests_rate': {
4466
+ info: 'The number of requests to the HTTP Location Zone.'
4467
+ },
4468
+ 'nginxplus.http_location_zone_responses_per_code_class_rate': {
4469
+ info: 'The number of responses from the HTTP Location Zone. Responses grouped by HTTP status code class.'
4470
+ },
4471
+ 'nginxplus.http_location_zone_traffic_rate': {
4472
+ info: 'The amount of data transferred to and from the HTTP Location Zone.'
4473
+ },
4474
+ 'nginxplus.http_location_zone_requests_discarded_rate': {
4475
+ info: 'The number of requests to the HTTP Location Zone completed without sending a response.'
4476
+ },
4477
+ 'nginxplus.http_upstream_peers_count': {
4478
+ info: 'The number of HTTP Upstream servers.'
4479
+ },
4480
+ 'nginxplus.http_upstream_zombies_count': {
4481
+ info: 'The current number of HTTP Upstream servers removed from the group but still processing active client requests.'
4482
+ },
4483
+ 'nginxplus.http_upstream_keepalive_count': {
4484
+ info: 'The current number of idle keepalive connections to the HTTP Upstream.'
4485
+ },
4486
+ 'nginxplus.http_upstream_server_requests_rate': {
4487
+ info: 'The number of client requests forwarded to the HTTP Upstream Server.'
4488
+ },
4489
+ 'nginxplus.http_upstream_server_responses_per_code_class_rate': {
4490
+ info: 'The number of responses received from the HTTP Upstream Server. Responses grouped by HTTP status code class.'
4491
+ },
4492
+ 'nginxplus.http_upstream_server_response_time': {
4493
+ info: 'The average time to get a complete response from the HTTP Upstream Server.'
4494
+ },
4495
+ 'nginxplus.http_upstream_server_response_header_time': {
4496
+ info: 'The average time to get a response header from the HTTP Upstream Server.'
4497
+ },
4498
+ 'nginxplus.http_upstream_server_traffic_rate': {
4499
+ info: 'The amount of traffic transferred to and from the HTTP Upstream Server.'
4500
+ },
4501
+ 'nginxplus.http_upstream_server_state': {
4502
+ info: 'The current state of the HTTP Upstream Server. Status active if set to 1.'
4503
+ },
4504
+ 'nginxplus.http_upstream_server_connections_count': {
4505
+ info: 'The current number of active connections to the HTTP Upstream Server.'
4506
+ },
4507
+ 'nginxplus.http_upstream_server_downtime': {
4508
+ info: 'The time the HTTP Upstream Server has spent in the <b>unavail</b>, <b>checking</b>, and <b>unhealthy</b> states.'
4509
+ },
4510
+ 'nginxplus.http_cache_state': {
4511
+ info: 'HTTP cache current state. <b>Cold</b> means that the cache loader process is still loading data from disk into the cache.'
4512
+ },
4513
+ 'nginxplus.http_cache_iops': {
4514
+ info: '<p>HTTP cache IOPS.</p><p><b>Served</b> - valid, expired, and revalidated responses read from the cache. <b>Written</b> - miss, expired, and bypassed responses written to the cache. <b>Bypassed</b> - miss, expired, and bypass responses.</p>'
4515
+ },
4516
+ 'nginxplus.http_cache_io': {
4517
+ info: '<p>HTTP cache IO.</p><p><b>Served</b> - valid, expired, and revalidated responses read from the cache. <b>Written</b> - miss, expired, and bypassed responses written to the cache. <b>Bypassed</b> - miss, expired, and bypass responses.</p>'
4518
+ },
4519
+ 'nginxplus.http_cache_size': {
4520
+ info: 'The current size of the cache.'
4521
+ },
4522
+ 'nginxplus.stream_server_zone_connections_rate': {
4523
+ info: 'The number of accepted connections to the Stream Server Zone.'
4524
+ },
4525
+ 'nginxplus.stream_server_zone_sessions_per_code_class_rate': {
4526
+ info: 'The number of completed sessions for the Stream Server Zone. Sessions grouped by status code class.'
4527
+ },
4528
+ 'nginxplus.stream_server_zone_traffic_rate': {
4529
+ info: 'The amount of data transferred to and from the Stream Server Zone.'
4530
+ },
4531
+ 'nginxplus.stream_server_zone_connections_processing_count': {
4532
+ info: 'The number of client connections to the Stream Server Zone that are currently being processed.'
4533
+ },
4534
+ 'nginxplus.stream_server_zone_connections_discarded_rate': {
4535
+ info: 'The number of connections to the Stream Server Zone completed without creating a session.'
4536
+ },
4537
+ 'nginxplus.stream_upstream_peers_count': {
4538
+ info: 'The number of Stream Upstream servers.'
4539
+ },
4540
+ 'nginxplus.stream_upstream_zombies_count': {
4541
+ info: 'The current number of HTTP Upstream servers removed from the group but still processing active client connections.'
4542
+ },
4543
+ 'nginxplus.stream_upstream_server_connections_rate': {
4544
+ info: 'The number of connections forwarded to the Stream Upstream Server.'
4545
+ },
4546
+ 'nginxplus.stream_upstream_server_traffic_rate': {
4547
+ info: 'The amount of traffic transferred to and from the Stream Upstream Server.'
4548
+ },
4549
+ 'nginxplus.stream_upstream_server_state': {
4550
+ info: 'The current state of the Stream Upstream Server. Status active if set to 1.'
4551
+ },
4552
+ 'nginxplus.stream_upstream_server_downtime': {
4553
+ info: 'The time the Stream Upstream Server has spent in the <b>unavail</b>, <b>checking</b>, and <b>unhealthy</b> states.'
4554
+ },
4555
+ 'nginxplus.stream_upstream_server_connections_count': {
4556
+ info: 'The current number of connections to the Stream Upstream Server.'
4557
+ },
4558
+ 'nginxplus.resolver_zone_requests_rate': {
4559
+ info: '<p>Resolver zone DNS requests.</p><p><b>Name</b> - requests to resolve names to addresses. <b>Srv</b> - requests to resolve SRV records. <b>Addr</b> - requests to resolve addresses to names.</p>'
4560
+ },
4561
+ 'nginxplus.resolver_zone_responses_rate': {
4562
+ info: '<p>Resolver zone DNS responses.</p><p><b>NoError</b> - successful responses. <b>FormErr</b> - format error responses. <b>ServFail</b> - server failure responses. <b>NXDomain</b> - host not found responses. <b>NotImp</b> - unimplemented responses. <b>Refused</b> - operation refused responses. <b>TimedOut</b> - timed out requests. <b>Unknown</b> - requests completed with an unknown error.</p>'
4563
+ },
4564
+
4565
// ------------------------------------------------------------------------
4566
// HTTP check
4567