Skip to content

Endpoint enhancements #438

@tarekrached

Description

@tarekrached
/datasources/[dataSourceName]/intervals

sorted list of unique intervals

/datasources/[dataSourceName]/intervals?full

list of intervals sorted by interval: [{interval, size, count}, ...]
NO REPLICATION INCLUDED - this is just the sizes and counts that would be on disk in a single tier with replicants = 1

/datasources/[dataSourceName]/intervals/[interval]

list of segments for that interval

/datasources/[dataSourceName]/intervals/[interval]?full

array (not object) of full metadata for all segments for that exact interval
each segment should also have a servers[] attribute

/datasources/[dataSourceName]/segments/[segmentId]

add "servers" attrib with [ host:port, host:port ]

/datasources/[dataSourceName]/tiers

for each tier, list of intervals sorted by interval: [{interval, size, count}, ...]

/tiers/[tierName]/datasources

list of [ { dataSource, intervals: [{interval, size, count}] } ]
intervals sorted by interval

/servers?simple

add type, priority
if it's easy, add total number of segments on server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions