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

Initial metric ingest tracing instrumentation #1052

Merged
merged 2 commits into from
Jan 25, 2022

Conversation

antekresic
Copy link
Contributor

Description

This change is the first step into tracing instrumentation on Promscale
using OpenTelemetry tracing libraries. Right now, its limited to metric
ingest path and only supports exporting traces to Jaeger. Rest of the
codebase (i.e. query path), as well as adding more exporting support,
will be covered in future PRs.

Closes #1004

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

@antekresic antekresic added the Performance Improvements that are specifically related to performance label Jan 13, 2022
@antekresic antekresic self-assigned this Jan 13, 2022
@antekresic antekresic requested review from cevian and removed request for niksajakovljevic January 13, 2022 13:17
@antekresic antekresic force-pushed the ingest-tracing branch 3 times, most recently from ffc686e to b0cf933 Compare January 13, 2022 13:39
@antekresic antekresic requested a review from jgpruitt as a code owner January 13, 2022 13:39
Copy link
Member

@Harkishen-Singh Harkishen-Singh left a comment

Choose a reason for hiding this comment

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

Looks good, just few comments.

Copy link
Contributor

@cevian cevian left a comment

Choose a reason for hiding this comment

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

Looks great. Mostly minor tweaks and suggestions

This change is the first step into tracing instrumentation on Promscale
using OpenTelemetry tracing libraries. Right now, its limited to metric
ingest path and only supports exporting traces to Jaeger. Rest of the
codebase (i.e. query path), as well as adding more exporting support,
will be covered in future PRs.
This is an optimization to remove the need to fetch metric ID and
table name when storing new series data since we already fetch
this info in a prior step of the process.
@antekresic antekresic merged commit 9a81191 into timescale:master Jan 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Performance Improvements that are specifically related to performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve instrumentation of ingest path
5 participants