EventStoreDB is an industrial-strength database technology used as the central data store for event-sourced systems. It is available open-source to run locally on most platforms or as SaaS through Event Store Cloud.

Prerequisite

For Virtual Machines, install the Linux Agent.

Configuring the credentials

Configure the credentials in the directory /opt/opsramp/agent/conf/app.d/creds.yaml

eventstore:
- name: eventstore
  user: <username>
  pwd: <Password>
  encoding-type: plain
  labels:
    key1: val1
    key2: val2

Configuring the application

Virtual machine

Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-detection.yaml

- name: eventstore
  instance-checks:
    service-check:
      - eventstore
    process-check:
      - eventstore
    port-check:
      - 2113
  misc:
    proto: "http" # use http or https based on the protocol used

Docker environment

Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-container-detection.yaml

- name: eventstore
  container-checks:
    image-check:
      - eventstore
    port-check:
      - 2113
  misc:
    proto: "https" # use http or https based on the protocol used

Kubernetes environment

Configure the application in config.yaml

- name: eventstore
  container-checks:
    image-check:
      - eventstore
    port-check:
      - 2113
  misc:
    proto: "https" # use http or https based on the protocol used

Validate

Go to Resources under the Infrastructure tab to check if your resources are onboarded and the metrics are collected.

Metrics

OpsRamp MetricMetric Display NameUnitDescription
eventstore_proc_memCurrent Memory UsagebytesCurrent memory usage
eventstore_proc_cpuCPU UsageCurrent CPU usage
eventstore_proc_cpu_scaledScaled Current CPU UsageScaled Current CPU Usage
eventstore_proc_threads_countThreads CountNumber of current threads
eventstore_proc_contentions_rateContentions RateCurrent contentions
eventstore_proc_thrown_exceptions_rateThrown Exceptions RateNumber of exceptions
eventstore_proc_diskIo_read_bytesDisk Reads in BytesbytesDisk Reads
eventstore_proc_diskIo_written_bytesDisk Writes in BytesbytesDisk Writes
eventstore_proc_diskIo_read_opsDisk Reads in OpsDisk Reads
eventstore_proc_diskIo_write_opsDisk Writes in OpsDisk Writes
eventstore_proc_tcp_connectionsTCP ConnectionsTCP Connections
eventstore_proc_tcp_receiving_speedTCP Receiving SpeedSpeed of receiving TCP
eventstore_proc_tcp_sending_speedTCP Sending SpeedSpeed of sending TCP
eventstore_proc_tcp_in_sendTCP InSendTCP In
eventstore_proc_tcp_measure_timeTCP Measure TimeTCP Measure
eventstore_proc_tcp_pending_receivedTCP Pending ReceivedTCP Pending
eventstore_proc_tcp_pending_sendTCP Pending SendTCP Pending
eventstore_proc_tcp_received_bytes_since_last_runTCP Received Bytes Since Last RunReceived_Bytes Since_Last
eventstore_proc_tcp_received_bytes_totalTCP Received Bytes TotalTotal bytes received
eventstore_proc_tcp_sent_bytes_since_last_runTCP Sent Bytes Since Last RunTotal bytes sent sice the last run
eventstore_proc_tcp_sent_bytes_totalTCP Sent Bytes TotalTotal sent bytes
eventstore_proc_gc_allocation_speedAllocation SpeedAllocation Speed
eventstore_proc_gc_gen0_items_countGen0 Items CountNumber of gen0 items
eventstore_proc_gc_gen0_sizeGen0 SizeSize of gen0
eventstore_proc_gc_gen1_items_countGen1 Items CountCount of Gen1 items
eventstore_proc_gc_gen1_sizeGen1 SizeSize of Gen1
eventstore_proc_gc_gen2_items_countGen2 Items CountCount of Gen2 items
eventstore_proc_gc_gen2_sizeGen2 SizeSize of Gen2
eventstore_proc_gc_large_heap_sizeLarge Heap SizeHeap Size
eventstore_proc_gc_time_in_gcTime In GcTime in Gc
eventstore_proc_gc_total_bytes_in_heapsTotal Bytes In HeapsbytesTotal number of bytes in Heaps
eventstore_sys_cpuSystem CPU UsageCPU usage
eventstore_sys_free_memSystem Free MemorySize of free memory
eventstore_es_queue_avg_items_per_secondQueue Avg Items Per SecondQueue of average items per second
eventstore_es_queue_avg_processing_timeQueue Avg Processing TimeQueue average processing time
eventstore_es_queue_current_idle_timeQueue Current Idle TimeQueue current idle time
eventstore_es_queue_current_item_processing_timeQueue Current Item Processing TimeQueue current processing time
eventstore_es_queue_idle_time_percentQueue Idle Time PercentpercentQueue idle time
eventstore_es_queue_lengthQueue LengthLength of the queue
eventstore_es_queue_length_current_try_peakQueue Length Current Try PeakLength of current try peak
eventstore_es_queue_length_lifetime_peakQueue Length Life Time PeakQueue length lifetime Peak
eventstore_es_queue_total_items_processedQueue Total Items ProcessedQueue total items processed
eventstore_es_writer_last_flush_sizeLast Flush SizeWriter last flush size
eventstore_es_writer_last_flush_delay_msLast Flush Delay msmillisecondsWriter last flush delay
eventstore_es_writer_mean_flush_sizeMean Flush SizeWriter mean flush size
eventstore_es_writer_mean_flush_delay_msMean Flush Delay msmillisecondsWriter mean flush delay
eventstore_es_writer_max_flush_sizeMax Flush SizeWriter maximum flush size
eventstore_es_writer_max_flush_delay_msMax Flush Delay msmillisecondsWriter maximum flush delay
eventstore_es_writer_queued_flush_messagesQueued Flush MessagesWriter queued flush messages
eventstore_es_read_index_cached_recordCached RecordRead index cached record
eventstore_es_read_index_not_cached_recordNot Cached RecordRead index not cached record
eventstore_es_read_index_cached_stream_infoCached Stream infoRead index cached stream info
eventstore_es_read_index_not_cached_stream_infoNot Cached Stream InfoRead index not cached stream info
eventstore_es_read_index_cached_trans_infoCached Trans infoRead index cached trans info
eventstore_es_read_index_not_cached_trans_infoNot Cached Trans infoRead index Not Cached Trans info
eventstore_cluster_member_aliveCluster Member is AliveCluster member is Alive
eventstore_cluster_last_commit_positionCluster Member Last Commit PositionCluster member Last Commit Position
eventstore_cluster_writer_checkpointCluster Member Writer CheckpointCluster member Writer Checkpoint
eventstore_cluster_chaser_checkpointCluster Member Chaser CheckpointCluster member Chaser Checkpoint
eventstore_cluster_epoch_positionCluster Member Epoch PositionCluster member Epoch Position
eventstore_cluster_epoch_numberCluster Member Epoch NumberCluster member Epoch Number
eventstore_cluster_node_priorityCluster Member Node PriorityCluster member Node Priority
eventstore_projection_core_processing_timeProjection Core Processing TimeProjection Core Processing Time
eventstore_projection_versionProjection VersionProjection Version
eventstore_projection_epochProjection EpochProjection Epoch
eventstore_projection_reads_in_progressProjection Reads in ProgressProjection Reads in Progress
eventstore_projection_writes_in_progressProjection Writes in ProgressProjection Writes in Progress
eventstore_projection_partitions_cachedProjection Partitions CachedProjection Partitions Cached
eventstore_projection_runningProjection is RunningProjection is Running
eventstore_projection_progressProjection ProgressProjection Progress
eventstore_projection_events_processed_after_restartProjection Events Processed after RestartProjection Events Processed after Restart
eventstore_projection_buffered_eventsProjection Events BufferedProjection Events Buffered
eventstore_projection_write_pending_events_before_checkpointProjection Write Pending Events before CheckpointProjection Write Pending Events before Checkpoint
eventstore_projection_write_pending_events_after_checkpointProjection Write Pending Events after CheckpointProjection Write Pending Events after Checkpoint
eventstore_subscription_liveSubscription is LiveSubscription is Live
eventstore_subscription_average_items_per_secondSubscription Average Items per SecondSubscription Average Items per Second
eventstore_subscription_items_processedSubscription Items ProcessedSubscription Items Processed
eventstore_subscription_last_processed_event_numberSubscription Last Processed Event NumberSubscription Last Processed Event Number
eventstore_subscription_last_known_event_numberSubscription Last Known Event NumberSubscription Last Known Event Number
eventstore_subscription_connectionsSubscription ConnectionsSubscription Connections
eventstore_subscription_messages_in_flightSubscription Messages in FlightSubscription Messages in Flight