Skip to content

feat(outputs.remotefile): Add plugin to store metrics in remote files #15569

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 9 commits into from
Jul 10, 2024

Conversation

srebhan
Copy link
Member

@srebhan srebhan commented Jun 26, 2024

Summary

This new output plugin allows to write metrics to files in remote location such as AWS S3 providers or SFTP. Additionally, the plugin supports Golang templates for the files setting to allow generating the final filename from metric content.

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #15547

@telegraf-tiger telegraf-tiger bot added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins labels Jun 26, 2024
@srebhan srebhan mentioned this pull request Jun 26, 2024
@srebhan srebhan self-assigned this Jun 27, 2024
@srebhan srebhan force-pushed the remote_file_issue_15547 branch from 3ecae80 to 0b6f211 Compare July 1, 2024 19:28
@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Jul 1, 2024
@srebhan srebhan assigned powersj and mstrandboge and unassigned srebhan Jul 1, 2024
Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

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

This looks pretty awesome! I have a few small questions inline.

@srebhan srebhan requested a review from powersj July 8, 2024 15:33
@powersj powersj removed their assignment Jul 8, 2024
@mstrandboge
Copy link
Member

@srebhan Could you rebase this PR to resolve the conflicts?

@mstrandboge mstrandboge assigned srebhan and unassigned mstrandboge Jul 9, 2024
@srebhan srebhan force-pushed the remote_file_issue_15547 branch from a3ba1b9 to a80db21 Compare July 10, 2024 11:19
@telegraf-tiger
Copy link
Contributor

@powersj powersj merged commit bcfd044 into influxdata:master Jul 10, 2024
26 of 27 checks passed
@github-actions github-actions bot added this to the v1.32.0 milestone Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
4 participants