Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Adds initial Finagle Adjuster #6

Merged
merged 1 commit into from
Feb 10, 2017
Merged

Conversation

codefromthecrypt
Copy link

This fixes up spans reported by Finagle.

Adjustment code should not be added without a tracking issue either in
Finagle or Zipkin Finagle.

FinagleAdjuster can be used as a library, where attributes are set via
FinagleAdjuster.Builder.

It is more commonly enabled with Spring via autoconfiguration when
"zipkin.sparkstreaming.adjuster.finagle.enabled" is set to "true"

Here are the relevant setting and a short description. Properties all
have a prefix of "zipkin.sparkstreaming.adjuster.finagle"

Attribute Property Description Fix
applyTimestampAndDuration apply-timestamp-and-duration Backfill span.timestamp and duration based on annotations. Defaults to true Use zipkin-finagle

@codefromthecrypt
Copy link
Author

@naoman @mansu I scraped this out of #3 as a first effort. For future changes, please use similar quality, including tests and references to why some adjustment is truly shared across all users.

This fixes up spans reported by [Finagle](https://github.com/twitter/finagle/tree/develop/finagle-zipkin).

Adjustment code should not be added without a tracking issue either in
[Finagle](https://github.com/twitter/finagle/issues) or [Zipkin Finagle](https://github.com/openzipkin/zipkin-finagle/issues).

FinagleAdjuster can be used as a library, where attributes are set via
`FinagleAdjuster.Builder`.

It is more commonly enabled with Spring via autoconfiguration when
"zipkin.sparkstreaming.adjuster.finagle.enabled" is set to "true"

Here are the relevant setting and a short description. Properties all
have a prefix of "zipkin.sparkstreaming.adjuster.finagle"

Attribute | Property | Description | Fix
--- | --- | --- | ---
applyTimestampAndDuration | apply-timestamp-and-duration | Backfill span.timestamp and duration based on annotations. Defaults to true | [Use zipkin-finagle](openzipkin/zipkin-finagle#10)
@codefromthecrypt codefromthecrypt merged commit 40d8d47 into master Feb 10, 2017
@codefromthecrypt codefromthecrypt deleted the finagle-adjustment branch February 10, 2017 14:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants