Skip to content
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

feat: enable extracting tag values from MQTT topics #9995

Merged
merged 15 commits into from
Nov 23, 2021

Conversation

MyaLongmire
Copy link
Contributor

@MyaLongmire MyaLongmire commented Oct 25, 2021

Required for all PRs:

resolves #2070 #10049

Allows parsing of mqtt topic into tags, metrics, and measurements

@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Oct 25, 2021
@sjwang90
Copy link
Contributor

sjwang90 commented Nov 3, 2021

Resolves #10049

Co-authored-by: Sebastian Spaink <3441183+sspaink@users.noreply.github.com>
@MyaLongmire MyaLongmire marked this pull request as ready for review November 16, 2021 18:15
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Hey @MyaLongmire nice work! I have some suggestions on the code... Happy to discuss those. :-)

plugins/inputs/mqtt_consumer/README.md Outdated Show resolved Hide resolved
plugins/inputs/mqtt_consumer/README.md Outdated Show resolved Hide resolved
plugins/inputs/mqtt_consumer/README.md Outdated Show resolved Hide resolved
plugins/inputs/mqtt_consumer/README.md Show resolved Hide resolved
plugins/inputs/mqtt_consumer/README.md Show resolved Hide resolved
plugins/inputs/mqtt_consumer/mqtt_consumer.go Outdated Show resolved Hide resolved
plugins/inputs/mqtt_consumer/mqtt_consumer.go Outdated Show resolved Hide resolved
plugins/inputs/mqtt_consumer/mqtt_consumer.go Outdated Show resolved Hide resolved
plugins/inputs/mqtt_consumer/mqtt_consumer.go Outdated Show resolved Hide resolved
plugins/inputs/mqtt_consumer/mqtt_consumer.go Outdated Show resolved Hide resolved
@srebhan srebhan self-assigned this Nov 18, 2021
@srebhan srebhan added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin area/mqtt and removed fix pr to fix corresponding bug labels Nov 18, 2021
MyaLongmire and others added 5 commits November 19, 2021 17:59
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
@samhld
Copy link
Contributor

samhld commented Nov 22, 2021

[Deleted comment]

User error

@telegraf-tiger
Copy link
Contributor

@samhld
Copy link
Contributor

samhld commented Nov 22, 2021

LGTM!

Copy link
Member

@srebhan srebhan 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 to me. Thanks for working on this @MyaLongmire!

plugins/inputs/mqtt_consumer/README.md Show resolved Hide resolved
plugins/inputs/mqtt_consumer/README.md Show resolved Hide resolved
@MyaLongmire
Copy link
Contributor Author

Thanks for the quick review @srebhan and @samhld! I appreciate your input.

@MyaLongmire MyaLongmire merged commit b89ef94 into master Nov 23, 2021
@MyaLongmire MyaLongmire deleted the mqtt-extracting-tags branch November 23, 2021 15:20
@srebhan srebhan mentioned this pull request Dec 7, 2021
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/mqtt feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants