Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

Adeptia Connect integrates EFK for logging, and Prometheus and Grafana for monitoring purposes. The image given below depicts how EFK, and Prometheus and Grafana are used with Adeptia Connect for logging and monitoring functions.

Image Removed

You can, however, opt out of using these tools, and use other tools of your preference. 

  • If you opt for To use EFK (Elasticsearch, Fluentd, Kibana) as a logging tool while deploying Adeptia Connect v4.0, set the value for the property global.config.logging.enabled in values.yaml file to true. Once set to true, the EFK stack is automatically deployed. 
  • If you opt for
  • to use Prometheus and Grafana as monitoring tools while deploying Adeptia Connect v4.0, set the tools are automatically deployedvalue for the property global.config.monitoring.enabled in values.yaml file to true. Once set to true, Prometheus and Grafana are automatically deployed.

Image Added

You can, however, opt out of using these tools, and use other tools of your preference

Info

In case you use some other centralized logging or monitoring tool you can follow the documentation of respective tool or use your internal expertise to integrate with Adeptia Connect.

To use a tool of your preference, you need to set the the value for the following properties in values.yaml file to false before you start installing the application.

  • global.config.logging.enabled
  • global.config.monitoring.enabled

Logging

In a Microservices architecture centralized logging plays a key role. it can be very useful when attempting to identify problems with your servers or applications, as it allows you to search through all of your logs in a single place. It is also useful because it allows you to identify issues that span multiple servers by correlating their logs during a specific time frame. Adeptia Connect logs messages during the execution of an activity to help you monitor and troubleshoot the application. The points below describe the logging mechanism.

  • The application writes these logs to standard output (stdout) and standard error (stderr). 
  • Kubernetes then reads the logs, and creates a separate log file for each Microservice.
  • Adeptia Connect bundles a tool, EFK, that can help you view the logs as and when required. Here's how EFK works.

    • Fluentd collects the logs from Kubernetes and pushes them into Elasticsearch. 
    • Elasticsearch maintains the index of all the logs.
    • Kibana is the UI where you can view the logs available in Elasticsearch.

  • Most of the centralized logging tool can read the logs written by Kubernetes. In case you use some other centralized logging tool they can follow the documentation of respective tool or use their internal expertise o read log files from Kubernetes and configure their tool and design dashboard.

Monitoring

Once up and running, Adeptia Connect allows you to monitor the system and its execution environment holistically by using a monitoring tool. Here's how Adeptia Connect helps you do that with Prometheus and Grafana.


  • Using Micrometer framework, Adeptia exposes the application metrics over an HTTP/s URL in the Prometheus format that can be scraped by Prometheus.

    Expand
    titleApplication metrices in Prometheus format
    # HELP log4j2_events_total Number of fatal level log events
    # TYPE log4j2_events_total counter
    log4j2_events_total{application="Gateway",level="info",} 4.0
    log4j2_events_total{application="Gateway",level="trace",} 0.0
    log4j2_events_total{application="Gateway",level="warn",} 4.0
    log4j2_events_total{application="Gateway",level="fatal",} 0.0
    log4j2_events_total{application="Gateway",level="error",} 4.0
    log4j2_events_total{application="Gateway",level="debug",} 0.0
    # HELP jvm_memory_committed_bytes The amount of memory in bytes that is committed for the Java virtual machine to use
    # TYPE jvm_memory_committed_bytes gauge
    jvm_memory_committed_bytes{application="Gateway",area="heap",id="Survivor Space",} 1.7891328E7
    jvm_memory_committed_bytes{application="Gateway",area="heap",id="Tenured Gen",} 3.57957632E8
    jvm_memory_committed_bytes{application="Gateway",area="nonheap",id="Compressed Class Space",} 8216576.0
    jvm_memory_committed_bytes{application="Gateway",area="nonheap",id="Code Cache",} 3.1064064E7
    jvm_memory_committed_bytes{application="Gateway",area="heap",id="Eden Space",} 1.43130624E8
    jvm_memory_committed_bytes{application="Gateway",area="nonheap",id="Metaspace",} 6.1693952E7
    # HELP jvm_threads_states_threads The current number of threads having NEW state
    # TYPE jvm_threads_states_threads gauge
    jvm_threads_states_threads{application="Gateway",state="runnable",} 7.0
    jvm_threads_states_threads{application="Gateway",state="terminated",} 0.0
    jvm_threads_states_threads{application="Gateway",state="new",} 0.0
    jvm_threads_states_threads{application="Gateway",state="blocked",} 0.0
    jvm_threads_states_threads{application="Gateway",state="waiting",} 4.0
    jvm_threads_states_threads{application="Gateway",state="timed-waiting",} 2.0
    # HELP jvm_threads_daemon_threads The current number of live daemon threads
    # TYPE jvm_threads_daemon_threads gauge
    jvm_threads_daemon_threads{application="Gateway",} 11.0
    # HELP jvm_gc_max_data_size_bytes Max size of long-lived heap memory pool
    # TYPE jvm_gc_max_data_size_bytes gauge
    jvm_gc_max_data_size_bytes{application="Gateway",} 3.57957632E8
    # HELP http_server_requests_seconds  
    # TYPE http_server_requests_seconds summary
    http_server_requests_seconds_count{application="Gateway",exception="None",method="GET",outcome="CLIENT_ERROR",status="416",uri="root",} 3.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="GET",outcome="CLIENT_ERROR",status="416",uri="root",} 0.083841414
    http_server_requests_seconds_count{application="Gateway",exception="None",method="POST",outcome="SUCCESS",status="204",uri="UNKNOWN",} 59.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="POST",outcome="SUCCESS",status="204",uri="UNKNOWN",} 5.71703524
    http_server_requests_seconds_count{application="Gateway",exception="None",method="POST",outcome="SERVER_ERROR",status="500",uri="UNKNOWN",} 18.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="POST",outcome="SERVER_ERROR",status="500",uri="UNKNOWN",} 14.48893263
    http_server_requests_seconds_count{application="Gateway",exception="None",method="GET",outcome="SUCCESS",status="204",uri="UNKNOWN",} 2.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="GET",outcome="SUCCESS",status="204",uri="UNKNOWN",} 0.591978911
    http_server_requests_seconds_count{application="Gateway",exception="None",method="GET",outcome="SUCCESS",status="200",uri="root",} 23.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="GET",outcome="SUCCESS",status="200",uri="root",} 1.212093181
    http_server_requests_seconds_count{application="Gateway",exception="None",method="GET",outcome="SUCCESS",status="200",uri="UNKNOWN",} 17808.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="GET",outcome="SUCCESS",status="200",uri="UNKNOWN",} 2948.282642708
    http_server_requests_seconds_count{application="Gateway",exception="None",method="DELETE",outcome="SUCCESS",status="204",uri="UNKNOWN",} 3.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="DELETE",outcome="SUCCESS",status="204",uri="UNKNOWN",} 0.64191333
    http_server_requests_seconds_count{application="Gateway",exception="None",method="DELETE",outcome="SUCCESS",status="200",uri="UNKNOWN",} 2.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="DELETE",outcome="SUCCESS",status="200",uri="UNKNOWN",} 0.260309961
    http_server_requests_seconds_count{application="Gateway",exception="None",method="PUT",outcome="SUCCESS",status="200",uri="UNKNOWN",} 1124.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="PUT",outcome="SUCCESS",status="200",uri="UNKNOWN",} 438.515693364
    http_server_requests_seconds_count{application="Gateway",exception="None",method="GET",outcome="REDIRECTION",status="304",uri="REDIRECTION",} 1929.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="GET",outcome="REDIRECTION",status="304",uri="REDIRECTION",} 36.213959584
    http_server_requests_seconds_count{application="Gateway",exception="None",method="GET",outcome="SERVER_ERROR",status="500",uri="UNKNOWN",} 58.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="GET",outcome="SERVER_ERROR",status="500",uri="UNKNOWN",} 3538.96331966
    http_server_requests_seconds_count{application="Gateway",exception="None",method="PUT",outcome="SUCCESS",status="204",uri="UNKNOWN",} 6.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="PUT",outcome="SUCCESS",status="204",uri="UNKNOWN",} 0.410754278
    http_server_requests_seconds_count{application="Gateway",exception="None",method="GET",outcome="CLIENT_ERROR",status="401",uri="UNKNOWN",} 21.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="GET",outcome="CLIENT_ERROR",status="401",uri="UNKNOWN",} 8.661108667
    http_server_requests_seconds_count{application="Gateway",exception="None",method="GET",outcome="REDIRECTION",status="302",uri="REDIRECTION",} 2.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="GET",outcome="REDIRECTION",status="302",uri="REDIRECTION",} 0.014788235
    http_server_requests_seconds_count{application="Gateway",exception="None",method="GET",outcome="CLIENT_ERROR",status="404",uri="NOT_FOUND",} 35.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="GET",outcome="CLIENT_ERROR",status="404",uri="NOT_FOUND",} 2.178006679
    http_server_requests_seconds_count{application="Gateway",exception="None",method="PUT",outcome="SERVER_ERROR",status="500",uri="UNKNOWN",} 3.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="PUT",outcome="SERVER_ERROR",status="500",uri="UNKNOWN",} 0.167924841
    http_server_requests_seconds_count{application="Gateway",exception="PrematureCloseException",method="GET",outcome="SERVER_ERROR",status="500",uri="UNKNOWN",} 4.0
    http_server_requests_seconds_sum{application="Gateway",exception="PrematureCloseException",method="GET",outcome="SERVER_ERROR",status="500",uri="UNKNOWN",} 265.786127646
    http_server_requests_seconds_count{application="Gateway",exception="None",method="GET",outcome="SUCCESS",status="206",uri="root",} 3.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="GET",outcome="SUCCESS",status="206",uri="root",} 0.113428323
    http_server_requests_seconds_count{application="Gateway",exception="None",method="POST",outcome="SUCCESS",status="200",uri="UNKNOWN",} 1231.0
    http_server_requests_seconds_sum{application="Gateway",exception="None",method="POST",outcome="SUCCESS",status="200",uri="UNKNOWN",} 638.75269475
    # HELP http_server_requests_seconds_max  
    # TYPE http_server_requests_seconds_max gauge
    http_server_requests_seconds_max{application="Gateway",exception="None",method="GET",outcome="CLIENT_ERROR",status="416",uri="root",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="POST",outcome="SUCCESS",status="204",uri="UNKNOWN",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="POST",outcome="SERVER_ERROR",status="500",uri="UNKNOWN",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="GET",outcome="SUCCESS",status="204",uri="UNKNOWN",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="GET",outcome="SUCCESS",status="200",uri="root",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="GET",outcome="SUCCESS",status="200",uri="UNKNOWN",} 0.689641409
    http_server_requests_seconds_max{application="Gateway",exception="None",method="DELETE",outcome="SUCCESS",status="204",uri="UNKNOWN",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="DELETE",outcome="SUCCESS",status="200",uri="UNKNOWN",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="PUT",outcome="SUCCESS",status="200",uri="UNKNOWN",} 0.131801671
    http_server_requests_seconds_max{application="Gateway",exception="None",method="GET",outcome="REDIRECTION",status="304",uri="REDIRECTION",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="GET",outcome="SERVER_ERROR",status="500",uri="UNKNOWN",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="PUT",outcome="SUCCESS",status="204",uri="UNKNOWN",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="GET",outcome="CLIENT_ERROR",status="401",uri="UNKNOWN",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="GET",outcome="REDIRECTION",status="302",uri="REDIRECTION",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="GET",outcome="CLIENT_ERROR",status="404",uri="NOT_FOUND",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="PUT",outcome="SERVER_ERROR",status="500",uri="UNKNOWN",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="PrematureCloseException",method="GET",outcome="SERVER_ERROR",status="500",uri="UNKNOWN",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="GET",outcome="SUCCESS",status="206",uri="root",} 0.0
    http_server_requests_seconds_max{application="Gateway",exception="None",method="POST",outcome="SUCCESS",status="200",uri="UNKNOWN",} 1.013327425
    # HELP jvm_memory_max_bytes The maximum amount of memory in bytes that can be used for memory management
    # TYPE jvm_memory_max_bytes gauge
    jvm_memory_max_bytes{application="Gateway",area="heap",id="Survivor Space",} 1.7891328E7
    jvm_memory_max_bytes{application="Gateway",area="heap",id="Tenured Gen",} 3.57957632E8
    jvm_memory_max_bytes{application="Gateway",area="nonheap",id="Compressed Class Space",} 1.073741824E9
    jvm_memory_max_bytes{application="Gateway",area="nonheap",id="Code Cache",} 2.5165824E8
    jvm_memory_max_bytes{application="Gateway",area="heap",id="Eden Space",} 1.43130624E8
    jvm_memory_max_bytes{application="Gateway",area="nonheap",id="Metaspace",} -1.0
    # HELP system_cpu_count The number of processors available to the Java virtual machine
    # TYPE system_cpu_count gauge
    system_cpu_count{application="Gateway",} 1.0
    # HELP jvm_buffer_count_buffers An estimate of the number of buffers in the pool
    # TYPE jvm_buffer_count_buffers gauge
    jvm_buffer_count_buffers{application="Gateway",id="mapped",} 0.0
    jvm_buffer_count_buffers{application="Gateway",id="direct",} 9.0
    # HELP jvm_threads_live_threads The current number of live threads including both daemon and non-daemon threads
    # TYPE jvm_threads_live_threads gauge
    jvm_threads_live_threads{application="Gateway",} 13.0
    # HELP system_load_average_1m The sum of the number of runnable entities queued to available processors and the number of runnable entities running on the available processors averaged over a period of time
    # TYPE system_load_average_1m gauge
    system_load_average_1m{application="Gateway",} 0.095703125
    # HELP process_cpu_usage The "recent cpu usage" for the Java Virtual Machine process
    # TYPE process_cpu_usage gauge
    process_cpu_usage{application="Gateway",} 0.0
    # HELP jvm_buffer_total_capacity_bytes An estimate of the total capacity of the buffers in this pool
    # TYPE jvm_buffer_total_capacity_bytes gauge
    jvm_buffer_total_capacity_bytes{application="Gateway",id="mapped",} 0.0
    jvm_buffer_total_capacity_bytes{application="Gateway",id="direct",} 262144.0
    # HELP jvm_classes_unloaded_classes_total The total number of classes unloaded since the Java virtual machine has started execution
    # TYPE jvm_classes_unloaded_classes_total counter
    jvm_classes_unloaded_classes_total{application="Gateway",} 65.0
    # HELP jvm_memory_used_bytes The amount of used memory
    # TYPE jvm_memory_used_bytes gauge
    jvm_memory_used_bytes{application="Gateway",area="heap",id="Survivor Space",} 589664.0
    jvm_memory_used_bytes{application="Gateway",area="heap",id="Tenured Gen",} 6.0189064E7
    jvm_memory_used_bytes{application="Gateway",area="nonheap",id="Compressed Class Space",} 7486568.0
    jvm_memory_used_bytes{application="Gateway",area="nonheap",id="Code Cache",} 3.0702976E7
    jvm_memory_used_bytes{application="Gateway",area="heap",id="Eden Space",} 9.1861456E7
    jvm_memory_used_bytes{application="Gateway",area="nonheap",id="Metaspace",} 5.8041536E7
    # HELP jvm_gc_live_data_size_bytes Size of long-lived heap memory pool after reclamation
    # TYPE jvm_gc_live_data_size_bytes gauge
    jvm_gc_live_data_size_bytes{application="Gateway",} 5.8816912E7
    # HELP process_files_open_files The open file descriptor count
    # TYPE process_files_open_files gauge
    process_files_open_files{application="Gateway",} 76.0
    # HELP jvm_classes_loaded_classes The number of classes that are currently loaded in the Java virtual machine
    # TYPE jvm_classes_loaded_classes gauge
    jvm_classes_loaded_classes{application="Gateway",} 11006.0
    # HELP jvm_gc_memory_promoted_bytes_total Count of positive increases in the size of the old generation memory pool before GC to after GC
    # TYPE jvm_gc_memory_promoted_bytes_total counter
    jvm_gc_memory_promoted_bytes_total{application="Gateway",} 4.400236E7
    # HELP jvm_buffer_memory_used_bytes An estimate of the memory that the Java virtual machine is using for this buffer pool
    # TYPE jvm_buffer_memory_used_bytes gauge
    jvm_buffer_memory_used_bytes{application="Gateway",id="mapped",} 0.0
    jvm_buffer_memory_used_bytes{application="Gateway",id="direct",} 262145.0
    # HELP jvm_gc_pause_seconds Time spent in GC pause
    # TYPE jvm_gc_pause_seconds summary
    jvm_gc_pause_seconds_count{action="end of minor GC",application="Gateway",cause="Allocation Failure",} 85.0
    jvm_gc_pause_seconds_sum{action="end of minor GC",application="Gateway",cause="Allocation Failure",} 0.456
    jvm_gc_pause_seconds_count{action="end of minor GC",application="Gateway",cause="GCLocker Initiated GC",} 13.0
    jvm_gc_pause_seconds_sum{action="end of minor GC",application="Gateway",cause="GCLocker Initiated GC",} 0.097
    jvm_gc_pause_seconds_count{action="end of major GC",application="Gateway",cause="Metadata GC Threshold",} 1.0
    jvm_gc_pause_seconds_sum{action="end of major GC",application="Gateway",cause="Metadata GC Threshold",} 0.103
    # HELP jvm_gc_pause_seconds_max Time spent in GC pause
    # TYPE jvm_gc_pause_seconds_max gauge
    jvm_gc_pause_seconds_max{action="end of minor GC",application="Gateway",cause="Allocation Failure",} 0.0
    jvm_gc_pause_seconds_max{action="end of minor GC",application="Gateway",cause="GCLocker Initiated GC",} 0.0
    jvm_gc_pause_seconds_max{action="end of major GC",application="Gateway",cause="Metadata GC Threshold",} 0.0
    # HELP jvm_threads_peak_threads The peak live thread count since the Java virtual machine started or peak was reset
    # TYPE jvm_threads_peak_threads gauge
    jvm_threads_peak_threads{application="Gateway",} 13.0
    # HELP system_cpu_usage The "recent cpu usage" for the whole system
    # TYPE system_cpu_usage gauge
    system_cpu_usage{application="Gateway",} 0.0
    # HELP jvm_gc_memory_allocated_bytes_total Incremented for an increase in the size of the (young) heap memory pool after one GC to before the next
    # TYPE jvm_gc_memory_allocated_bytes_total counter
    jvm_gc_memory_allocated_bytes_total{application="Gateway",} 1.416886436E10
    # HELP spring_cloud_gateway_requests_seconds  
    # TYPE spring_cloud_gateway_requests_seconds summary
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="default",routeUri="https://portal:443",status="OK",} 10.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="default",routeUri="https://portal:443",status="OK",} 0.015491656
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-portal-resources",routeUri="https://portal:443",status="OK",} 3.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-portal-resources",routeUri="https://portal:443",status="OK",} 2.4370944
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="OK",} 546.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="OK",} 404.152728806
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="PUT",httpStatusCode="204",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NO_CONTENT",} 6.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="PUT",httpStatusCode="204",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NO_CONTENT",} 0.408998271
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="webrunner-resources",routeUri="https://web-runner:443",status="OK",} 260.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="webrunner-resources",routeUri="https://web-runner:443",status="OK",} 137.466807887
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="event-resources",routeUri="https://event:443",status="OK",} 390.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="event-resources",routeUri="https://event:443",status="OK",} 82.202086564
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 26.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 17.402747343
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="POST",httpStatusCode="500",outcome="SERVER_ERROR",routeId="event-resources",routeUri="https://event:443",status="INTERNAL_SERVER_ERROR",} 3.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="POST",httpStatusCode="500",outcome="SERVER_ERROR",routeId="event-resources",routeUri="https://event:443",status="INTERNAL_SERVER_ERROR",} 9.60909674
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="POST",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 1.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="POST",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 1.452557192
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="PUT",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="OK",} 1124.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="PUT",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="OK",} 436.594565781
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="PUT",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 3.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="PUT",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 0.166336437
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="401",outcome="CLIENT_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="UNAUTHORIZED",} 21.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="401",outcome="CLIENT_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="UNAUTHORIZED",} 8.652714334
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="static-resources",routeUri="https://web-runner:443",status="OK",} 454.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="static-resources",routeUri="https://web-runner:443",status="OK",} 21.747808749
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="500",outcome="SERVER_ERROR",routeId="webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 6.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="500",outcome="SERVER_ERROR",routeId="webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 0.490455006
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-portal-resources",routeUri="https://portal:443",status="OK",} 207.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-portal-resources",routeUri="https://portal:443",status="OK",} 34.449423937
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-portal-resources",routeUri="https://portal:443",status="INTERNAL_SERVER_ERROR",} 30.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-portal-resources",routeUri="https://portal:443",status="INTERNAL_SERVER_ERROR",} 3786.825527242
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="DELETE",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="OK",} 2.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="DELETE",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="OK",} 0.259390957
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="304",outcome="REDIRECTION",routeId="default",routeUri="https://portal:443",status="NOT_MODIFIED",} 1929.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="304",outcome="REDIRECTION",routeId="default",routeUri="https://portal:443",status="NOT_MODIFIED",} 35.4996972
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="POST",httpStatusCode="204",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NO_CONTENT",} 59.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="POST",httpStatusCode="204",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NO_CONTENT",} 5.700221179
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="runtime-resources",routeUri="https://runtime:443",status="OK",} 24.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="runtime-resources",routeUri="https://runtime:443",status="OK",} 11.61025297
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="416",outcome="CLIENT_ERROR",routeId="default",routeUri="https://portal:443",status="REQUESTED_RANGE_NOT_SATISFIABLE",} 3.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="416",outcome="CLIENT_ERROR",routeId="default",routeUri="https://portal:443",status="REQUESTED_RANGE_NOT_SATISFIABLE",} 0.082484709
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="event-resources",routeUri="https://event:443",status="OK",} 201.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="event-resources",routeUri="https://event:443",status="OK",} 48.398382998
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="302",outcome="REDIRECTION",routeId="default",routeUri="https://portal:443",status="FOUND",} 2.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="302",outcome="REDIRECTION",routeId="default",routeUri="https://portal:443",status="FOUND",} 0.012528529
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="204",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NO_CONTENT",} 2.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="204",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NO_CONTENT",} 0.591410609
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="206",outcome="SUCCESSFUL",routeId="default",routeUri="https://portal:443",status="PARTIAL_CONTENT",} 3.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="206",outcome="SUCCESSFUL",routeId="default",routeUri="https://portal:443",status="PARTIAL_CONTENT",} 0.106000597
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="default",routeUri="https://portal:443",status="OK",} 4943.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="default",routeUri="https://portal:443",status="OK",} 63.916603811
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="webrunner-resources",routeUri="https://web-runner:443",status="OK",} 1876.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="webrunner-resources",routeUri="https://web-runner:443",status="OK",} 193.965327976
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="DELETE",httpStatusCode="204",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NO_CONTENT",} 3.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="DELETE",httpStatusCode="204",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NO_CONTENT",} 0.640815227
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="POST",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-portal-resources",routeUri="https://portal:443",status="INTERNAL_SERVER_ERROR",} 9.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="POST",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-portal-resources",routeUri="https://portal:443",status="INTERNAL_SERVER_ERROR",} 3.036728993
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="OK",} 10155.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="OK",} 1515.499515664
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="404",outcome="CLIENT_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NOT_FOUND",} 8.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="404",outcome="CLIENT_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NOT_FOUND",} 0.182350593
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="POST",httpStatusCode="500",outcome="SERVER_ERROR",routeId="webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 5.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="POST",httpStatusCode="500",outcome="SERVER_ERROR",routeId="webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 0.382072573
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="404",outcome="CLIENT_ERROR",routeId="webrunner-resources",routeUri="https://web-runner:443",status="NOT_FOUND",} 3.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="404",outcome="CLIENT_ERROR",routeId="webrunner-resources",routeUri="https://web-runner:443",status="NOT_FOUND",} 0.104674441
    spring_cloud_gateway_requests_seconds_count{application="Gateway",httpMethod="GET",httpStatusCode="404",outcome="CLIENT_ERROR",routeId="default",routeUri="https://portal:443",status="NOT_FOUND",} 24.0
    spring_cloud_gateway_requests_seconds_sum{application="Gateway",httpMethod="GET",httpStatusCode="404",outcome="CLIENT_ERROR",routeId="default",routeUri="https://portal:443",status="NOT_FOUND",} 1.875655595
    # HELP spring_cloud_gateway_requests_seconds_max  
    # TYPE spring_cloud_gateway_requests_seconds_max gauge
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="default",routeUri="https://portal:443",status="OK",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-portal-resources",routeUri="https://portal:443",status="OK",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="OK",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="PUT",httpStatusCode="204",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NO_CONTENT",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="webrunner-resources",routeUri="https://web-runner:443",status="OK",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="event-resources",routeUri="https://event:443",status="OK",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="POST",httpStatusCode="500",outcome="SERVER_ERROR",routeId="event-resources",routeUri="https://event:443",status="INTERNAL_SERVER_ERROR",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="POST",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="PUT",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="OK",} 0.131460571
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="PUT",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="401",outcome="CLIENT_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="UNAUTHORIZED",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="static-resources",routeUri="https://web-runner:443",status="OK",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="500",outcome="SERVER_ERROR",routeId="webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-portal-resources",routeUri="https://portal:443",status="OK",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-portal-resources",routeUri="https://portal:443",status="INTERNAL_SERVER_ERROR",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="DELETE",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="OK",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="304",outcome="REDIRECTION",routeId="default",routeUri="https://portal:443",status="NOT_MODIFIED",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="POST",httpStatusCode="204",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NO_CONTENT",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="POST",httpStatusCode="200",outcome="SUCCESSFUL",routeId="runtime-resources",routeUri="https://runtime:443",status="OK",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="416",outcome="CLIENT_ERROR",routeId="default",routeUri="https://portal:443",status="REQUESTED_RANGE_NOT_SATISFIABLE",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="event-resources",routeUri="https://event:443",status="OK",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="302",outcome="REDIRECTION",routeId="default",routeUri="https://portal:443",status="FOUND",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="204",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NO_CONTENT",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="206",outcome="SUCCESSFUL",routeId="default",routeUri="https://portal:443",status="PARTIAL_CONTENT",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="default",routeUri="https://portal:443",status="OK",} 0.002652501
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="webrunner-resources",routeUri="https://web-runner:443",status="OK",} 0.10866044
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="DELETE",httpStatusCode="204",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NO_CONTENT",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="POST",httpStatusCode="500",outcome="SERVER_ERROR",routeId="rest-portal-resources",routeUri="https://portal:443",status="INTERNAL_SERVER_ERROR",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="200",outcome="SUCCESSFUL",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="OK",} 0.689016809
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="404",outcome="CLIENT_ERROR",routeId="rest-webrunner-resources",routeUri="https://web-runner:443",status="NOT_FOUND",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="POST",httpStatusCode="500",outcome="SERVER_ERROR",routeId="webrunner-resources",routeUri="https://web-runner:443",status="INTERNAL_SERVER_ERROR",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="404",outcome="CLIENT_ERROR",routeId="webrunner-resources",routeUri="https://web-runner:443",status="NOT_FOUND",} 0.0
    spring_cloud_gateway_requests_seconds_max{application="Gateway",httpMethod="GET",httpStatusCode="404",outcome="CLIENT_ERROR",routeId="default",routeUri="https://portal:443",status="NOT_FOUND",} 0.0
    # HELP process_files_max_files The maximum file descriptor count
    # TYPE process_files_max_files gauge
    process_files_max_files{application="Gateway",} 1048576.0
    # HELP process_start_time_seconds Start time of the process since unix epoch.
    # TYPE process_start_time_seconds gauge
    process_start_time_seconds{application="Gateway",} 1.630224538687E9
    # HELP process_uptime_seconds The uptime of the Java virtual machine
    # TYPE process_uptime_seconds gauge
    process_uptime_seconds{application="Gateway",} 33771.799


    Prometheus tool can be configured to pull the metrics periodically and store data. You can also configure rules in the Prometheus tool that are evaluated periodically and can send alerts to Alert Manager (in Prometheus) to send out notifications via methods such as email, Slack, etc.

  • Grafana allows visualizing the data stored in Prometheus through flexible dashboards.
    You can monitor the activities including transactions, triggers, process flows, audit trail, etc. on the dashboard.
Info

The metrices exposed by Adeptia Connect Microservices are in Prometheus format only.

Below is the list of URLs exposed by Microservices.

  • Gateway: <URL of Gateway service>/prometheus
  • Portal: <URL of Portal service>/prometheus
  • Event: <URL of Event service>/event/prometheus
  • Runtime: <URL of Runtime service>/runtime/prometheus
  • Webrunner: <URL of Webrunner service>/adeptia/prometheus
Prometheus and Grafana can be accessed via the URLs mentioned below.
  • Prometheus URL
  • Grafana URL
Info

You can configure Prometheus and design Grafana dashboard to view the metrices you need. Refer the Prometheus and Grafana documentation to achieve this.



Panel
borderStylesolid
titleYou may be interested in...
What 's is new
Application architecture
Key terms
Install
Usage scenarios