|
|
@@ -39,15 +39,14 @@ var metrics = struct {
|
|
|
NetBytesReceived *prometheus.Desc
|
|
|
NetBytesSentPer *prometheus.Desc
|
|
|
NetBytesReceivedPer *prometheus.Desc
|
|
|
- NetDataLatency *prometheus.Desc
|
|
|
- NetDataDuration *prometheus.Desc
|
|
|
- NetEstTime *prometheus.Desc
|
|
|
+ NetDataLatency *prometheus.Desc
|
|
|
+ NetDataDuration *prometheus.Desc
|
|
|
+ NetEstTime *prometheus.Desc
|
|
|
|
|
|
-
|
|
|
- NetAcceptsSuccessful *prometheus.Desc
|
|
|
- NetAcceptsActive *prometheus.Desc
|
|
|
- NetAcceptBytesSent *prometheus.Desc
|
|
|
- NetAcceptBytesReceived *prometheus.Desc
|
|
|
+ NetAcceptsSuccessful *prometheus.Desc
|
|
|
+ NetAcceptsActive *prometheus.Desc
|
|
|
+ NetAcceptBytesSent *prometheus.Desc
|
|
|
+ NetAcceptBytesReceived *prometheus.Desc
|
|
|
|
|
|
LogMessages *prometheus.Desc
|
|
|
|
|
|
@@ -88,23 +87,23 @@ var metrics = struct {
|
|
|
DiskWriteBytes: metric("process_resources_disk_written_bytes_total", "Total number of bytes written to the disk by the process", "mount_point", "device", "volume"),
|
|
|
|
|
|
NetListenInfo: metric("process_net_tcp_listen_info", "Listen address of the process", "listen_addr", "proxy"),
|
|
|
- NetConnectionsSuccessful: metric("process_net_tcp_successful_connects_total", "Total number of successful TCP connects", "instance_id","app_id","app_name","src", "destination", "actual_destination"),
|
|
|
- NetConnectionsTotalTime: metric("process_net_tcp_connection_time_seconds_total", "Time spent on TCP connections", "instance_id","app_id","app_name","src","destination", "actual_destination"),
|
|
|
- NetConnectionsFailed: metric("process_net_tcp_failed_connects_total", "Total number of failed TCP connects", "instance_id","app_id","app_name","destination"),
|
|
|
+ NetConnectionsSuccessful: metric("process_net_tcp_successful_connects_total", "Total number of successful TCP connects", "instance_id", "app_id", "target_app_id", "app_name", "src", "destination", "actual_destination"),
|
|
|
+ NetConnectionsTotalTime: metric("process_net_tcp_connection_time_seconds_total", "Time spent on TCP connections", "instance_id", "app_id", "target_app_id", "app_name", "src", "destination", "actual_destination"),
|
|
|
+ NetConnectionsFailed: metric("process_net_tcp_failed_connects_total", "Total number of failed TCP connects", "instance_id", "app_id", "target_app_id", "app_name", "destination"),
|
|
|
NetConnectionsActive: metric("process_net_tcp_active_connections", "Number of active outbound connections used by the process", "destination", "actual_destination"),
|
|
|
- NetRetransmits: metric("process_net_tcp_retransmits_total", "Total number of retransmitted TCP segments", "instance_id","app_id","app_name","src","destination", "actual_destination"),
|
|
|
+ NetRetransmits: metric("process_net_tcp_retransmits_total", "Total number of retransmitted TCP segments", "instance_id", "app_id", "target_app_id", "app_name", "src", "destination", "actual_destination"),
|
|
|
NetLatency: metric("process_net_latency_seconds", "Round-trip time between the process and a remote IP", "destination_ip"),
|
|
|
- NetBytesSent: metric("process_net_tcp_bytes_sent_total", "Total number of bytes sent to the peer", "instance_id","app_id","app_name","src","destination", "actual_destination"),
|
|
|
- NetBytesReceived: metric("process_net_tcp_bytes_received_total", "Total number of bytes received from the peer", "instance_id","app_id","app_name","src","destination", "actual_destination"),
|
|
|
- NetBytesSentPer: metric("process_net_tcp_bytes_sent_per", "Per number of bytes sent to the peer", "instance_id","app_id","app_name","src","destination", "actual_destination"),
|
|
|
- NetBytesReceivedPer: metric("process_net_tcp_bytes_received_per", "Per number of bytes received from the peer", "instance_id","app_id","app_name","src","destination", "actual_destination"),
|
|
|
- NetAcceptsSuccessful: metric("process_net_tcp_successful_accept_total", "Total number of successful TCP accepts", "destination", "actual_destination"),
|
|
|
+ NetBytesSent: metric("process_net_tcp_bytes_sent_total", "Total number of bytes sent to the peer", "instance_id", "app_id", "target_app_id", "app_name", "src", "destination", "actual_destination"),
|
|
|
+ NetBytesReceived: metric("process_net_tcp_bytes_received_total", "Total number of bytes received from the peer", "instance_id", "app_id", "target_app_id", "app_name", "src", "destination", "actual_destination"),
|
|
|
+ NetBytesSentPer: metric("process_net_tcp_bytes_sent_per", "Per number of bytes sent to the peer", "instance_id", "app_id", "target_app_id", "app_name", "src", "destination", "actual_destination"),
|
|
|
+ NetBytesReceivedPer: metric("process_net_tcp_bytes_received_per", "Per number of bytes received from the peer", "instance_id", "app_id", "target_app_id", "app_name", "src", "destination", "actual_destination"),
|
|
|
+ NetAcceptsSuccessful: metric("process_net_tcp_successful_accept_total", "Total number of successful TCP accepts", "destination", "actual_destination"),
|
|
|
NetAcceptBytesSent: metric("process_net_tcp_bytes_sent_accept_total", "Total number of bytes sent to the peer", "destination", "actual_destination"),
|
|
|
NetAcceptBytesReceived: metric("process_net_tcp_bytes_received_accept_total", "Total number of bytes received from the peer", "destination", "actual_destination"),
|
|
|
- NetDataLatency: metric("process_net_tcp_data_latency", "Data latency", "instance_id","app_id","app_name","src","destination", "actual_destination"),
|
|
|
- NetDataDuration: metric("process_net_tcp_data_duration", "Data duration", "instance_id","app_id","app_name","src","destination", "actual_destination"),
|
|
|
- NetEstTime: metric("process_net_tcp_est_time", "Established time", "instance_id","app_id","app_name","src","destination", "actual_destination"),
|
|
|
-
|
|
|
+ NetDataLatency: metric("process_net_tcp_data_latency", "Data latency", "instance_id", "app_id", "target_app_id", "app_name", "src", "destination", "actual_destination"),
|
|
|
+ NetDataDuration: metric("process_net_tcp_data_duration", "Data duration", "instance_id", "app_id", "target_app_id", "app_name", "src", "destination", "actual_destination"),
|
|
|
+ NetEstTime: metric("process_net_tcp_est_time", "Established time", "instance_id", "app_id", "target_app_id", "app_name", "src", "destination", "actual_destination"),
|
|
|
+
|
|
|
LogMessages: metric("process_log_messages_total", "Number of messages grouped by the automatically extracted repeated pattern", "source", "level", "pattern_hash", "sample"),
|
|
|
|
|
|
ApplicationType: metric("process_application_type", "Type of the application running in the process (e.g. memcached, postgres, mysql)", "application_type"),
|