Skip to content

tags api v2 #598

@brharrington

Description

@brharrington

Still need to see exactly what form this takes and whether it can be done as an add-ons to v1 without breaking compatibility. Should try to address:

Time based restrictions

Internally the tags api is only applied to the 6h tier. This is done for several reasons:

  • UI heavily depends on inefficient operations that do not scale well to historical clusters with more data per node.
  • The transient nature of many resources means garbage accumulates quickly and users want it out of the api. This was a frequent complaint in Epic, the predecessor to Atlas.

However, the time based restriction causes a number of issues with some batch type operations that may not have run in the last 6h. For example canary analysis jobs.

Should the tags api try to support start and end parameters like the graph api? How much overhead would this add to the index?

Pagination

Pagination is required because we wanted to avoid users just downloading everything in particular with large sets where there are millions of entries. A number of suggestions that have come up:

  • Use standard link headers for the pagination. Currently there is a custom header for some legacy reasons.
  • Allow some form of auto-pagination. This is doable, but need to make sure it doesn't cause any issues for other users.

Multiple Results

There have been some suggestions it would be helpful to be able to project the values of multiple keys. An extreme version of this would be a summary index that outputs the values for all keys associated with a given query. Need to understand how costly this would be to do.

/cc @svachalek @tregoning @nathfisher

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions