sandeep-paliwal commented on a change in pull request #2282: Distributed
tracing support #2192
URL:
https://github.com/apache/incubator-openwhisk/pull/2282#discussion_r120582969
##########
File path: common/scala/src/main/resources/application.conf
##########
@@ -12,3 +12,22 @@ akka.http {
max-open-requests = 128
}
}
+
+akka.tracing {
+ #zipkin configuration
+ host = "localhost"
+ host = ${?TRACING_HOST} # Override default HOST by enviornment variable
+ port = 9410 # default
+ port = ${?TRACING_PORT} # Override default PORT by enviornment variable
+ sample-rate = 100 # by default trace every 100th request
+ sample-rate = ${?TRACING_SAMPLE_RATE} # Override default Sample_Rate by
enviornment variable
+
+ enabled = false
+ enabled = ${?TRACING_ENABLED} # Override default Enabled by enviornment
variable
+ max-spans-per-second = 100
Review comment:
`max-spans-per-second` allows to discard any span sampling above specified
limit. So within a given sample rate if there are too many spans being sampled
this setting can be used to control that.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services