Skip to content

Support sending metrics to InfluxDB v2 #25721

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

Closed
wants to merge 1 commit into from

Conversation

shakuzen
Copy link
Member

Micrometer 1.7.0-M1 adds support for InfluxDB v2 in addition to the existing support for InfluxDB v1. Some concepts have changed in v2. So we need additional properties for users to be able to configure where to write metrics and authenticate via token.

Maybe we want to consider also updating the description of existing properties to note which are specific to v1. What do you think?

Micrometer 1.7.0-M1 adds support for InfluxDB v2 in addition to the existing support for InfluxDB v1. Some concepts have changed in v2. So we need additional properties for users to be able to configure where to write metrics and authenticate via token.
@@ -33,7 +35,7 @@
public class InfluxProperties extends StepRegistryProperties {

/**
* Tag that will be mapped to "host" when shipping metrics to Influx.
* Destination to write metrics when using an InfluxDB 1.x database.
Copy link
Member Author

@shakuzen shakuzen Mar 17, 2021

Choose a reason for hiding this comment

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

The previous description was just wrong and some version of the updated description should be backported.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks Tommy. I've created: #25723

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 17, 2021
@snicoll snicoll changed the title InfluxDB v2 properties added Support sending metrics to InfluxDB v2 Mar 17, 2021
@snicoll snicoll added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 17, 2021
@snicoll snicoll added this to the 2.5.0-M3 milestone Mar 17, 2021
@snicoll snicoll self-assigned this Mar 17, 2021
snicoll pushed a commit that referenced this pull request Mar 17, 2021
snicoll added a commit that referenced this pull request Mar 17, 2021
@snicoll snicoll closed this in b61e4bb Mar 17, 2021
@snicoll
Copy link
Member

snicoll commented Mar 17, 2021

Maybe we want to consider also updating the description of existing properties to note which are specific to v1. What do you think?

That's a good idea. I've done that in 8808d5e. Thanks!

@shakuzen shakuzen deleted the influx2-metrics branch March 18, 2021 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants