[
https://issues.apache.org/jira/browse/HTRACE-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15094864#comment-15094864
]
Hudson commented on HTRACE-317:
-------------------------------
SUCCESS: Integrated in HTrace-Master #232 (See
[https://builds.apache.org/job/HTrace-Master/232/])
HTRACE-317. Fix the documentation for adding tracing to an application
(cmccabe: rev 2566b34abf144c6c5c2b5134b1064500ef6a85e9)
* src/main/site/markdown/index.md
> Fix the documentation for adding tracing to an application to reflect HTrace
> 4.x API changes
> --------------------------------------------------------------------------------------------
>
> Key: HTRACE-317
> URL: https://issues.apache.org/jira/browse/HTRACE-317
> Project: HTrace
> Issue Type: Bug
> Components: docs
> Affects Versions: 4.0.1
> Reporter: Sean Busbey
> Assignee: Masatake Iwasaki
> Priority: Critical
> Fix For: 4.1
>
> Attachments: HTRACE-317.001.patch, HTRACE-317.002.patch
>
>
> The docs for adding tracing state:
> {code}
> Span computationSpan = tracer.newScope("Expensive computation.");
> try {
> //expensive computation here
> } finally {
> computationSpan.stop();
> }
> {code}
> the {{tracer.newScope}} method returns a TraceScope object. That object has a
> {{close}} method, not {{stop}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)