-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Source information is not available in signalfx #1606
Comments
I'm ready to send PR for this issue if you are fine to add this improvement |
Right now we're just passing the configured Edit: here's the specific code referenced above: Lines 104 to 106 in 9d91a6b
|
Maybe some SFX folks could comment here. @mpetazzoni, @beccatortell, appreciate you can comment on the |
@shakuzen I did some search in SFX docs and while
|
@shakuzen do you have any comments? Are you waiting for some SignalFX rep to comment or we can count on some "de facto" behavior? |
Sorry for the delay in response. I was taking some time off and then busy with a conference. I think we can proceed with making the change to add the source dimension if it is not already set. I don't think it needs to be made configurable, since this seems to be the correct and expected behavior. I would still be curious to know what is the purpose of setting the @zeldigas Are you willing to send a pull request for this? |
Yes, I'll send PR this week |
PR is opened for this repo, but if I understand correctly I also need to do a follow up PR to spring-boot-actuator once this one is merged, right? |
If there are additional configuration options, then yes, there will need to be a change in Spring Boot to support those. |
Is this issue fixed? Which version of the following library it is fixed? Also should i update springboot version for this? And what property to needs to be set to get to the filter on the source in splunk apm metrics |
we used the splunk-otel-javaagent and are able to push metrics and filter it based on sf_service. When we push metrics using spring-boot and the micrometer-signalfx-registry library as per the springboot documentation at https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#actuator.metrics.export.signalfx, not able to filter the metrics based on the application. So thought the source dimension is for that filtering. I tried with spring-boot 2.7.2 which pulls the 1.9.2 version of micrometer-registry-signalfx the source is not coming to metric so that i could filter the metric based on it. If there is any other way to filter the metric to differentiate between different applications, please do let me know. |
Now that the SignalFX support has been deprecated in #5807, this enhancement request issue seems to be able to be closed. |
Current reporter for SignalFx does not send information about "source", that is by default equal to hostname.
SFX team's dropwizard reporter sends this information as dedicated dimension, appended to every data point: https://github.com/signalfx/signalfx-java/blob/master/signalfx-codahale/src/main/java/com/signalfx/codahale/reporter/AggregateMetricSenderSessionWrapper.java#L195
Micrometer implementation sets
source
field in dataPoint, but looks like it does not work as expected, because there is no dimension with a value having this info.Expected result:
source()
property.sf_
prefix so that reported data can keep compatibility with already existing data (some legacy examples for signal fx usedsf_source
for this info)I'm fine if this behavior would be optional and enabled by special config parameter, e.g.
management.metrics.export.signalfx.reportSource
The text was updated successfully, but these errors were encountered: