Closed deobald closed 10 months ago
ENDB_LOG_LEVEL
ENDB_TRACING_LEVEL
ENDB_TRACING_OTEL=1
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317/
/metrics
src/lib/server.lisp: (endb/lib:metric-counter "interactive_transactions_active" -1)))) src/storage/wal.lisp: (endb/lib:metric-monotonic-counter "wal_written_bytes_total" (length buffer)))))) src/storage/wal.lisp: (endb/lib:metric-monotonic-counter "wal_read_bytes_total" (length buffer)) src/storage/buffer-pool.lisp: (endb/lib:metric-counter "buffer_pool_usage_bytes" (- (buffer-pool-entry-size v))) src/storage/buffer-pool.lisp: (endb/lib:metric-counter "buffer_pool_usage_bytes" (buffer-pool-entry-size entry)) src/storage/buffer-pool.lisp: (endb/lib:metric-counter "buffer_pool_usage_bytes" (- (buffer-pool-entry-size entry))) src/storage/object-store.lisp: (endb/lib:metric-monotonic-counter "object_store_read_bytes_total" (length buffer)) src/storage/object-store.lisp: (endb/lib:metric-monotonic-counter "object_store_written_bytes_total" bytes-written))))) src/sql.lisp: (endb/lib:metric-monotonic-counter "transactions_committed_total" 1) src/sql.lisp: (endb/lib:metric-counter "queries_active" 1) src/sql.lisp: (endb/lib:metric-histogram "query_real_time_duration_seconds" (/ (getf args :real-time-ms) 1000.0d0)) src/sql.lisp: (endb/lib:metric-histogram "query_gc_run_time_duration_seconds" (/ (getf args :gc-run-time-ms) 1000.0d0)) src/sql.lisp: (endb/lib:metric-histogram "query_consed_bytes" (getf args :bytes-consed)) src/sql.lisp: (endb/lib:metric-monotonic-counter "queries_total" 1) src/sql.lisp: (endb/lib:metric-counter "queries_active" -1))))) src/sql.lisp: (endb/lib:metric-counter "dynamic_space_usage_bytes" (- usage previous-usage)) src/http.lisp: (endb/lib:metric-monotonic-counter "transactions_prepared_total" 1) src/http.lisp: (endb/lib:metric-monotonic-counter "transactions_retried_total" 1))))))) src/http.lisp: (endb/lib:metric-monotonic-counter "websocket_message_internal_errors_total" 1) src/http.lisp: (endb/lib:metric-monotonic-counter "transactions_prepared_total" 1) src/http.lisp: (endb/lib:metric-monotonic-counter "transactions_conflicted_total" 1)) src/http.lisp: (endb/lib:metric-monotonic-counter "transactions_retried_total" 1))))))) src/http.lisp: (endb/lib:metric-counter "interactive_transactions_active" 1)))) src/http.lisp: (endb/lib:metric-counter "interactive_transactions_active" -1)) src/http.lisp: (endb/lib:metric-counter "interactive_transactions_active" -1)))))))))) src/http.lisp: (endb/lib:metric-counter "interactive_transactions_active" -1)) lib/endb_server/src/lib.rs: tracing::trace!(counter.websocket_connections_active = 1); lib/endb_server/src/lib.rs: tracing::trace!(monotonic_counter.websocket_messages_total = 1); lib/endb_server/src/lib.rs: tracing::trace!(counter.websocket_connections_active = -1); lib/endb_server/src/lib.rs: monotonic_counter.http_requests_total = 1, lib/endb_server/src/lib.rs: tracing::trace!(counter.build_info = 1, version = ENDB_FULL_VERSION); lib/endb_server/src/lib.rs: tracing::trace!(histogram.websocket_message_duration_seconds = latency.as_secs_f64()); lib/endb_server/src/lib.rs: histogram.http_request_duration_seconds = latency.as_secs_f64(),
ENDB_LOG_LEVEL
=> endb=INFO (default)ENDB_TRACING_LEVEL
=> endb=DEBUG (default)ENDB_TRACING_OTEL=1
(off by default)OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317/
/metrics