Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Add histogram to track number samples/metadata/span sent per request #1767

Merged
merged 2 commits into from
Dec 21, 2022

Conversation

arajkumar
Copy link
Member

@arajkumar arajkumar commented Nov 29, 2022

This commit also removes the metric promscale_ingest_items_received_total which is not used anywhere and the same information can be now obtained using the newly introduced promscale_ingest_items_received_* histogram metric.

Signed-off-by: Arunprasad Rajkumar ar.arunprasad@gmail.com

This is how it looks on Promscale dashboard

image

TODO

  • Decide on bucket size - Current bucket size is inclusive of both metrics and traces.
  • Dashboard(Histogram vs Heat-map)
  • [ ] Alerting? - I'm not sure how feasible it would be when considering low ingestion use cases.

Description

Merge requirements

Please take into account the following non-code changes that you may need to make with your PR:

  • CHANGELOG entry for user-facing changes
  • Updated the relevant documentation

@arajkumar arajkumar marked this pull request as ready for review December 15, 2022 09:01
@arajkumar arajkumar requested a review from a team as a code owner December 15, 2022 09:01
@arajkumar arajkumar force-pushed the metric-for-samples-per-send branch from d028f46 to cb58cbc Compare December 15, 2022 09:02
@arajkumar arajkumar requested a review from a team as a code owner December 16, 2022 06:59
@arajkumar
Copy link
Member Author

@niksajakovljevic @cevian @paulfantom I've also added heatmap panel to visualize newly added histogram. Please check.

This commit also removes the metric promscale_ingest_items_received_total
which is not used anywhere and the same information can be now obtained
using the newly introduced `promscale_ingest_items_received_*` histogram metric.

Signed-off-by: Arunprasad Rajkumar <ar.arunprasad@gmail.com>
Signed-off-by: Arunprasad Rajkumar <ar.arunprasad@gmail.com>
@arajkumar arajkumar force-pushed the metric-for-samples-per-send branch from 4151268 to 73b749b Compare December 20, 2022 14:36
@arajkumar arajkumar requested review from a team and removed request for a team December 21, 2022 07:26
Copy link
Contributor

@paulfantom paulfantom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :shipit:

@arajkumar arajkumar merged commit b846443 into timescale:master Dec 21, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants