allow ttl to be set for sample

Description

When bulk importing existing data into newts, there isn't a way to set the cassandra expiration TTL for each sample, so they all end up expiring at the same time.

Can CassandraSampleRepository.insert() be enhanced to allow the sample to specify the TTL?

I'd like to see each sample expire at (TTL - (CURRTIME - TIMESTAMP)) so they are staggered like you might have from a bulk import.

Lucidchart Diagrams

Activity

Jesse White May 8, 2015 at 3:15 PM

Pull request merged.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created February 5, 2015 at 10:03 PM
Updated May 8, 2015 at 3:15 PM
Resolved May 8, 2015 at 3:15 PM

Flag notifications