Skip to main content
Skip table of contents

Observability Metrics setup and usage - Secure Email Gateway

Setup overview

Step

Description

Step 1: Book the Observability Metrics add-on

Contact your main sales representative to order the add-on and update your contract.

Step 2: Retarus prepares your setup

The Retarus Operations team sets up your dedicated Observability instance and endpoint.

Step 3: Receive credentials and endpoint

The Operations team provides you with the credentials and specific API endpoint for your Observability instance.

Endpoint and authentication

Remote read endpoint

Authentication method

https://api.retarus.com/stable/retarus/metrics/1.0/[your_customer_number]

Basic authentication

Data Available

Metrics names

Name

Type

Description

rmxtracking_inbound_mail_count_total

Counter

Total number of inbound mails in the whole system.

rmxtracking_outbound_mail_count_total

Counter

Total number of outbound mails in the whole system.

rmxtracking_inbound_mail_duration_seconds_sum

Summary

Sum of the processing times that inbound mails took in the system. (Only when they are actually send out to the customer)

rmxtracking_inbound_mail_duration_seconds_count

Counter

Total number of inbound mails that are actually send to the customer.

rmxtracking_outbound_mail_duration_seconds_sum

Summary

Sum of the processing times that outbound mails took in the system. (Only when they are actually send out to the internet)

rmxtracking_outbound_mail_duration_seconds_count

Counter

Total number of outbound mails that are actually send to the internet.

Metrics labels

Metrics Labels

Name

Type

Description

Possible values

datacenter

Enum

Indicates which Retarus datacenter processed the message

DE1: Frankfurt
DE2: Munich

event_phase

Enum

Shows the phase in which the message reached its final processing status

FILTER: Any application that analyzes the email
DELIVER: Postfix, when the mail gets send to the destination

status

Enum

Status of the email

OK: successful delivery
ERROR: unsuccessful delivery
REJECT: email rejected for any reason
QUARANTINE: email quarantined

status_code

Integer

Status code corresponding to the status and substatus

e.g.200, 500, 505

substatus

Enum

Substatus of the email

e.g.DirFilter, DNS, Virus, SenderRestriction, SpamProbabilityLimit, NDR Spam, AntiSpam, Phishing, Blocklist, Attachment-Type

Usage

  • Use the provided federation endpoint (compatible with Prometheus federation) to retrieve metrics data.

  • Filter data using federation queries or process it locally on your own system.

  • Control how long you retain data within your own observability system.

  • Retarus can be integrated with any standard observability platform, including Dynatrace, New Relic, Grafana, Splunk, and Datadog.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.