Segment

Overview

Segment is a customer data infrastructure that makes it easy for you to clean, collect, and control first-party customer data. Segment collects data from sources such as websites or mobile apps, and routes it to one or more destinations (for example, Google Analytics and Amazon Redshift).

Use Datadog’s out-of-the-box dashboard and monitors to:

  • Visualize event delivery metrics for cloud mode destinations.
  • Analyze data (such as splitting metrics by workspace or by destination) using Datadog’s tag system.
  • Automate alerts for any delivery problems so you know when critical data pipelines are down.

Note: These metrics are intended for delivery to destinations such as Snowflake or Amplitude, not for delivery from instrumented applications to Segment.

Setup

Installation

Navigate to the integration tile and grant Datadog workspace:read access to a workspace by clicking on the Add WorkSpace link to initiate an OAuth2 flow. The Segment user that grants Datadog access to a workspace must have role workspace owner.

Data Collected

Metrics

segment.event_delivery.discarded
(count)
Total number of events that were rejected by the destination. Metrics of the form segment.eventdelivery.discarded<error_type> will also be generated
Shown as event
segment.event_delivery.expired
(count)
Total number of retried events that have reached their max retry attempts
Shown as event
segment.event_delivery.retried
(count)
Total number of events that were rejected by a destination. Metrics of the form segment.eventdelivery.retried<error_type> will also be generated
Shown as event
segment.event_delivery.successes
(count)
Total number of successfully delivered event to the destination
Shown as event
segment.event_delivery.successes_after_retry
(count)
Total number of successfully delivered events after more than one attempt
Shown as event
segment.event_delivery.successes_on_first_attempt
(count)
Total number of successfully delivered events on the first attempt
Shown as event
segment.event_delivery.time_to_first_attempt_average
(gauge)
Average time it took to attempt to send events to the destination
Shown as second
segment.event_delivery.time_to_first_attempt_p95
(gauge)
Time it took to attempt to send 95% of your events to the destination
Shown as second
segment.event_delivery.time_to_success_average
(gauge)
Average time it took for events to be successful to the destination
Shown as second
segment.event_delivery.time_to_success_p95
(gauge)
Time it took for 95% of your events to be successful
Shown as second

Events

The Segment integration does not include any events.

Service Checks

The Segment integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.

Further reading

Additional helpful documentation, links, and articles: