Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Restructure how agent stat data is stored #1533

Closed
Xylus opened this issue Feb 5, 2016 · 0 comments
Closed

Restructure how agent stat data is stored #1533

Xylus opened this issue Feb 5, 2016 · 0 comments
Assignees
Milestone

Comments

@Xylus
Copy link
Contributor

Xylus commented Feb 5, 2016

The way the agent stat data is currently stored makes it inefficient to query for individual types of stat data efficiently. This makes it hard to pull the tps chart out to the main server map page and poll for near-real time update.

Improvements can be made in read efficiency and storage efficiency, which should go hand-in-hand here. Some changes that can be made:

  • Go wide instead of tall - Collapse 5 minutes worth of stat data into one row, use time delta (in seconds) as qualifiers.
  • Embed stat type into the rowkey - <salt><agentId><type><timestamp>
  • Serialize relevant data together and stuff them into a single column - would save a lot of space, and allow for per-type version management.
@Xylus Xylus self-assigned this Feb 5, 2016
@Xylus Xylus added this to the 1.5.2 milestone Feb 5, 2016
@Xylus Xylus modified the milestones: 1.5.3, 1.5.2 Mar 8, 2016
Xylus added a commit to Xylus/pinpoint that referenced this issue Aug 17, 2016
Xylus added a commit to Xylus/pinpoint that referenced this issue Aug 17, 2016
Xylus added a commit to Xylus/pinpoint that referenced this issue Aug 17, 2016
Xylus added a commit to Xylus/pinpoint that referenced this issue Aug 19, 2016
Additional minor change - populate agentId for stat bos (not used but for completeness).
Xylus added a commit that referenced this issue Aug 19, 2016
Additional minor change - populate agentId for stat bos (not used but for completeness).
Xylus added a commit to Xylus/pinpoint that referenced this issue Aug 19, 2016
…ully queued

HbaseOperations2.asyncPut() may return null instead of an empty list if all puts are queued successfully.
Xylus added a commit that referenced this issue Aug 19, 2016
* #1533 Fix rejected puts check when all puts were successfully queued
HbaseOperations2.asyncPut() may return null instead of an empty list if all puts are queued successfully.

* Add documentation for possible null return value
Another option would have been to modify implementations to return an empty list instead of null, but the underlying `HTableMultiplexor.put` also potentially returns null.
So to follow suit, leave the implementations alone and add documentation instead.
Xylus added a commit to Xylus/pinpoint that referenced this issue Aug 22, 2016
Xylus added a commit to Xylus/pinpoint that referenced this issue Aug 24, 2016
Xylus added a commit to Xylus/pinpoint that referenced this issue Aug 24, 2016
Agent stat value headers are no longer typed, and will be able to handle additional encoding strategies that could be added in the future.
Xylus added a commit that referenced this issue Aug 31, 2016
Xylus added a commit to Xylus/pinpoint that referenced this issue Sep 7, 2016
Xylus added a commit that referenced this issue Sep 7, 2016
…es (#2064)

patch covered by integration tests in internal CI instance.
Xylus added a commit to Xylus/pinpoint that referenced this issue Sep 7, 2016
Xylus added a commit that referenced this issue Sep 7, 2016
@emeroad emeroad closed this as completed Oct 24, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants