Tcp Connections Total

Prometheus counter for total accepted TCP connections per listener

Versions marked “overview” do not contain this page. Selecting one opens that version’s documentation overview.

Category: Setup-dependent integration
Task: Prometheus counter for total accepted TCP connections per listener

Prerequisites: The external service, credentials, or certificates referenced by this configuration.

Run it: Use ghcr.io/praxis-proxy/praxis:0.7.2 and follow the first reverse-proxy tutorial to mount and start the configuration.

This configuration comes from the selected release. The example has not been run here; external services are not bundled.

Download the source file.

# TCP Connections Total
#
# Prometheus counter for total accepted TCP connections per listener.
# Incremented once per connection, regardless of duration. Scraped
# via the admin /metrics endpoint.
#
admin:
  address: "127.0.0.1:9901"

insecure_options:
  allow_private_upstreams: true

listeners:
  - name: postgres
    address: "127.0.0.1:5432"
    protocol: tcp
    upstream: "127.0.0.1:15432"