forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
awss3exporter: add upload metrics for parquet debugging #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
02fc649
feat(awss3exporter): add upload telemetry
amir-jakoby 42fd4ee
chore: add awss3 changelog entry
amir-jakoby 757e197
test: cover awss3 upload metric failure path
amir-jakoby d3f31c8
test: cover awss3 telemetry generation gaps
amir-jakoby fb5866b
test: fix awss3 tracer assertion message
amir-jakoby 39c6aa0
fix: make awss3 histogram units explicit
amir-jakoby 3274ba5
test: tighten awss3 telemetry assertions
amir-jakoby f3ffb4f
fix: satisfy awss3 exporter lint checks
amir-jakoby b5ea95d
fix: report compressed awss3 upload sizes
amir-jakoby a9e975e
fix: add awss3 upload counter units
amir-jakoby File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| change_type: enhancement | ||
| component: exporter/awss3 | ||
| note: "Add upload telemetry for the AWS S3 exporter to expose upload attempts, failures, bytes, object sizes, and last successful upload time." | ||
| issues: [43] | ||
| subtext: |- | ||
| This improves observability for parquet-backed export flows by making upload progress and failure modes visible without relying only on logs. | ||
| change_logs: [user] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| [comment]: <> (Code generated by mdatagen. DO NOT EDIT.) | ||
|
|
||
| # awss3 | ||
|
|
||
| ## Internal Telemetry | ||
|
|
||
| The following telemetry is emitted by this component. | ||
|
|
||
| ### otelcol_exporter_awss3_last_successful_upload_timestamp | ||
|
|
||
| Unix timestamp in seconds of the last successful S3 upload | ||
|
|
||
| | Unit | Metric Type | Value Type | Stability | | ||
| | ---- | ----------- | ---------- | --------- | | ||
| | s | Gauge | Int | Alpha | | ||
|
|
||
| ### otelcol_exporter_awss3_upload_attempt_total | ||
|
|
||
| Number of started S3 upload attempts that reached the uploader | ||
|
|
||
| | Unit | Metric Type | Value Type | Monotonic | Stability | | ||
| | ---- | ----------- | ---------- | --------- | --------- | | ||
| | 1 | Sum | Int | true | Alpha | | ||
|
|
||
| ### otelcol_exporter_awss3_upload_bytes | ||
|
|
||
| Final bytes uploaded to S3 after any exporter-level compression | ||
|
|
||
| | Unit | Metric Type | Value Type | Monotonic | Stability | | ||
| | ---- | ----------- | ---------- | --------- | --------- | | ||
| | By | Sum | Int | true | Alpha | | ||
|
|
||
| ### otelcol_exporter_awss3_upload_failed_total | ||
|
|
||
| Number of started S3 upload attempts that failed | ||
|
|
||
| | Unit | Metric Type | Value Type | Monotonic | Stability | | ||
| | ---- | ----------- | ---------- | --------- | --------- | | ||
| | 1 | Sum | Int | true | Alpha | | ||
|
|
||
| ### otelcol_exporter_awss3_upload_object_size | ||
|
|
||
| Final size in bytes of each successfully uploaded S3 object | ||
|
|
||
| | Unit | Metric Type | Value Type | Stability | | ||
| | ---- | ----------- | ---------- | --------- | | ||
| | By | Histogram | Int | Alpha | | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.