<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ted Young on Medium]]></title>
        <description><![CDATA[Stories by Ted Young on Medium]]></description>
        <link>https://medium.com/@tedsuo?source=rss-62653f8839a6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8U11yR5C7127fYQg5KEjew.jpeg</url>
            <title>Stories by Ted Young on Medium</title>
            <link>https://medium.com/@tedsuo?source=rss-62653f8839a6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 05:12:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tedsuo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[OpenTelemetry Specification v1.0.0, Tracing Edition]]></title>
            <link>https://medium.com/opentelemetry/opentelemetry-specification-v1-0-0-tracing-edition-72dd08936978?source=rss-62653f8839a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/72dd08936978</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[opentelemetry]]></category>
            <category><![CDATA[distributed-tracing]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[observability]]></category>
            <dc:creator><![CDATA[Ted Young]]></dc:creator>
            <pubDate>Tue, 16 Feb 2021 18:02:30 GMT</pubDate>
            <atom:updated>2021-02-16T18:02:30.476Z</atom:updated>
            <content:encoded><![CDATA[<p>This week, we had the rewarding experience of merging <a href="https://github.com/open-telemetry/opentelemetry-specification/pull/1372">this PR</a>, which bumps <a href="https://github.com/open-telemetry/opentelemetry-specification">the OpenTelemetry specification</a> to v1.0.</p><p>This is a big moment for OpenTelemetry. With v1.0.0 of the specification complete, and v1.0.1 already out, we are ready to begin offering stability guarantees for the tracing portion of the OpenTelemetry clients.</p><p>Please check out the API and SDK release candidates, available in the following languages.</p><ul><li><a href="https://github.com/open-telemetry/opentelemetry-erlang">Erlang</a></li><li><a href="https://github.com/open-telemetry/opentelemetry-java">Java</a></li><li><a href="https://github.com/open-telemetry/opentelemetry-dotnet">.NET</a></li><li><a href="https://github.com/open-telemetry/opentelemetry-python">Python</a></li></ul><p>Other languages will follow suit in the coming weeks and months. Please join us in vetting these release candidates; feedback is greatly appreciated.</p><h3>v1.0 and Tracing Stability</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uiTzMRGaKRhDHh3-91NkLQ.png" /></figure><p>Long-term support, backwards compatibility, and dependency isolation are three core tenets of the project. OpenTelemetry is a cross-cutting concern — by design, the project will integrate with many, many codebases. Each component of OpenTelemetry is marked as either stable or experimental. The following components will become stable as part of the release of v1.0 implementations.</p><p><strong>The tracing API.</strong> This means that all instrumentation written against the tracing API will be compatible with future minor versions, and <strong>supported for a minimum of three years</strong> after the next major version of the OpenTelemetry API. This is the most important stability guarantee, as it allows application developers to trust that they can access new OpenTelemetry features (such as metrics and logging) without needing to rewrite their existing instrumentation. At the same time, library authors can trust that they can instrument their libraries without worrying about OpenTelemetry creating dependency conflicts when their library is installed in an application.</p><p><strong>The tracing SDK.</strong> This means that environment variables, configuration options and plugins will be compatible with future minor versions, and <strong>supported for a minimum of one year</strong> after the next major release of the OpenTelemetry SDK. This allows operators and application developers to trust that they can receive security patches and performance upgrades to the SDK without needing to rewrite their integrations or deployment scripts.</p><p>We will have a follow up blog post explaining our stability and support guarantees in detail. For now, the details can be found in <a href="https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/versioning-and-stability.md">the specification</a>.</p><h3>The Road Ahead</h3><p>To be clear, work is still continuing! <strong>Tracing is just the first portion of OpenTelemetry to stabilize: metrics, logs, and semantic conventions will continue to evolve.</strong> However, work on those components will not affect the stability of tracing, and will be released as minor version bumps when they reach stability.</p><p>For tracing, we will continue to improve our documentation, installation experience, and availability of instrumentation. In fact, writing instrumentation is a great way to get involved with the project.</p><p>For metrics, there is still a significant amount of work to do. Like many standardization efforts, OpenTelemetry tends to move slowly, as we value input and consensus from the wide range of organizations which both create and depend upon the project. The OpenTelemetry metrics community has grown to include many contributors, and we seeking advice from related projects such as <a href="http://prometheus.io/">Prometheus</a>, <a href="https://openmetrics.io/">OpenMetrics</a>, and <a href="https://micrometer.io/">Micrometer</a>. By integrating metrics with tracing, we believe OpenTelemetry has something valuable to add to this field, and we are excited to see that others agree.</p><p>OpenTelemetry has also been making progress on the logging front. With the contribution of <a href="https://github.com/observIQ/stanza">Stanza</a>, the <a href="https://github.com/open-telemetry/opentelemetry-collector">OpenTelemetry Collector</a> is set to become a best-in-class log processor. We are also in the process of integrating the OpenTelemetry tracing system with existing logging systems. This will allow existing logs to be converted into trace events, enriching the trace data collected by OpenTelemetry. It will also work in the opposite direction and allow trace identifiers to be added to existing logs, so that logging systems currently in production can benefit from better indexing.</p><p>Follow up blog posts will discuss the tracing, metrics, logging, and collector roadmaps in detail. Once metrics are stable, we plan to declare the OpenTelemetry project to be Generally Available. In the meantime, we are confident that OpenTelemetry tracing is ready for production.</p><h3>Thank You Everyone</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NFIBaAXyg-3g_Ahr" /></figure><p>It has been a pleasure watching OpenTelemetry thrive and grow into the broad, stable organization that it is today. As of January 2021, OpenTelemetry has 861 contributors to the project; I would like to thank each and every one of you. It has been an amazing journey, and I look forward to the next chapter.</p><p>P.S. As part of hitting the v1.0 milestone, we’re switching from Gitter to Slack for chat. If you’d like to say hi, you can find us in the <a href="https://cloud-native.slack.com/archives/CJFCJHG4Q">OpenTelemetry channel</a> on the CNCF Slack instance. If you’re new, you can create a CNCF Slack account <a href="http://slack.cncf.io/">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72dd08936978" width="1" height="1" alt=""><hr><p><a href="https://medium.com/opentelemetry/opentelemetry-specification-v1-0-0-tracing-edition-72dd08936978">OpenTelemetry Specification v1.0.0, Tracing Edition</a> was originally published in <a href="https://medium.com/opentelemetry">OpenTelemetry</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OpenTelemetry Node: All you need to know]]></title>
            <link>https://medium.com/@tedsuo/opentelemetry-nodejs-all-you-need-to-know-a4e1c8f2f93?source=rss-62653f8839a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4e1c8f2f93</guid>
            <category><![CDATA[opentelemetry]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[distributed-tracing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[observability]]></category>
            <dc:creator><![CDATA[Ted Young]]></dc:creator>
            <pubDate>Thu, 12 Nov 2020 03:21:46 GMT</pubDate>
            <atom:updated>2020-11-16T18:19:25.241Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EbNjXxh6KUf_e503eIndWw.png" /></figure><h3>OpenTelemetry for NodeJS: All you need to know about tracing</h3><p>Hi all, <a href="https://github.com/tedsuo/">tedsuo</a> here. We’re passing an important milestone on OpenTelemetry: the <a href="https://github.com/open-telemetry/opentelemetry-specification/tree/master/specification/trace">tracing specification</a> is about to be frozen, and release candidates for OpenTelemetry tracing implementations will be coming soon, with metrics following in the next couple of months.</p><p>While we are putting our core documentation together, I thought now would be a good time to point out how simple it is to actually use distributed tracing in JavaScript. OpenTelemetry is a large framework, it has a lot of options and a lot of surface area. But, as an end user, you don’t have to worry about all of that. So, forget the details: this walkthrough contains all you need to know to actually use OpenTelemetry in Node. Apply this walkthrough to your application, and you are good to go.</p><h3>TL;DR</h3><p>All you need to know is:</p><ul><li><strong>Initialization:</strong> How to start and shutdown cleanly.</li><li><strong>Tracer methods:</strong> getTracer, getCurrentSpan, startSpan, and withSpan.</li><li><strong>Span methods:</strong> setAttribute, addEvent, recordException, setStatus, and end.</li></ul><p>Seriously, that’s it. If you want to try it out, follow the guide below. A heavily commented version of the finished tutorial can be found at <a href="https://github.com/tedsuo/otel-node-basics">https://github.com/tedsuo/otel-node-basics</a> for all your copy-pasting needs.</p><h3>Hello, world</h3><p>For this tutorial, we’re going to make a very, very simple application: an express service that responds to <a href="http://localhost:9000/hello">http://localhost:9000/hello</a> with “Hello World.” It’s as basic as it is original!</p><p>First, make a directory to contain your project, and install express:</p><pre>npm i express</pre><p>Once we have that, let’s get to coding. Make a file called <strong>server.js</strong> and serve up some hello world:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2531fd9eed09ef0694cc03cf695ca2a8/href">https://medium.com/media/2531fd9eed09ef0694cc03cf695ca2a8/href</a></iframe><p>Then, make a file called <strong>client.js</strong> which sends 5 requests to the server and then exits.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bca734a1cbc8d53f93bcca5c13a2dc8b/href">https://medium.com/media/bca734a1cbc8d53f93bcca5c13a2dc8b/href</a></iframe><p>Boot up server and check that it works:</p><pre>&gt; node server.js</pre><p>With the server running, test the client in another tab:</p><pre>&gt; node client.js<br>Hello World<br>Hello World<br>Hello World</pre><h3>OpenTelemetry Architecture in 30 seconds</h3><p>Ok, I said no details, but here is one that is actually helpful. OpenTelemetry clients have two major components: the SDK and the API. The SDK is the actual framework, the API is what you use to instrument your code.</p><p>This separation provides loose coupling: your application code only depends on the API, which has virtually no dependencies and acts like a no-op when the SDK is not installed. This allows packages to add instrumentation without automatically pulling in the implementation’s dependency chain (think grpc, etc). This separation of concerns is especially helpful for OSS libraries that want to bake in instrumentation, but don’t want to create overhead or dependency conflicts when OpenTelemetry is not being used.</p><blockquote><strong>Tip:</strong> Never reference any SDK package outside of installation and setup. All other packages and application code should only depend on the API.</blockquote><p>In case you were wondering, while there are two Javascript SDKs — one for NodeJS and one for the browser — there is only one Javascript API. Instrumented code remains portable between both environments.</p><h3>Pick an OpenTelemetry backend</h3><p>Ok, let’s add OpenTelemetry to this application. To test our tracing, you’ll need a place to send the data.</p><p>At Lightstep, we created <a href="https://app.lightstep.com/signup/developer?signup_source=nodejsblog">free-for-life community accounts</a> specifically for making OpenTelemetry easy to experiment with. If you don’t already have one, please grab an account.</p><p>If you’d like to use Zipkin or Jaeger instead, this <a href="https://github.com/open-telemetry/opentelemetry-js/blob/master/getting-started/README.md">getting started guide</a> will walk you through the setup. Once you’re set-up, you can come back here and follow the rest of the tutorial.</p><h3>Install the NodeJS OpenTelemetry Launcher</h3><p>Since we’re connecting to Lightstep, we’ll also be using the Lightstep Distro of OpenTelemetry, the <a href="https://github.com/lightstep/otel-launcher-node">OpenTelemetry Launchers</a>. Distros package up any plugins and configuration needed to talk to a particular backend. At the moment, we’re still fleshing out the full definition of a Distro (what is allowed, and what isn’t), but the basic point is to make getting started easier by reducing configuration boilerplate. If you want more detail, you can check out <a href="https://lightstep.com/blog/opentelemetry-launchers-what-they-solve-and-why-we-need-them">this blog post</a> where I initially proposed the concept.</p><p>Installing the OpenTelemetry Launcher package will also install OpenTelemetry, plus all currently available <a href="https://github.com/open-telemetry/opentelemetry-js#plugins">instrumentation</a>.</p><pre>npm i lightstep-opentelemetry-launcher-node</pre><h3>Create an OpenTelemetry initialization file</h3><p>To instrument your server, you need to start the OpenTelemetry SDK before loading your application. As of v0.12, OpenTelemetry NodeJS loads asynchronously, This is actually the trickiest bit of OpenTelemetry right now, and in future versions will move to a simpler, synchronous startup. However, for now you can copy and paste the approach below, and it will work for any application.</p><p>Create a file called server_init.js. This will serve as your new entry point. You can copy and paste the below code.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c32ee9496b99b197dd424815f231ed0b/href">https://medium.com/media/c32ee9496b99b197dd424815f231ed0b/href</a></iframe><p>Configure the launcher with your <a href="https://docs.lightstep.com/docs/create-and-manage-access-tokens">Lightstep Access Token</a> (You can find your Access Token on the settings page). Create a client_init.js file in the same manner, only change the serviceName to ‘hello-client’ and the required startup file to ‘./client’.</p><p>Use the launcher to start the SDK. Once the SDK has completed its setup, require your original entry point to start your application.</p><p>Why load your application in two phases like this? If your application begins requiring packages (or running) before OpenTelemetry is set up, it can create issues. By initializing OpenTelemetry in a separate file, and only requiring the rest of your application after the SDK is started, OpenTelemetry has an opportunity to automatically apply any available instrumentation, as well as <a href="https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-resource-detector-aws">auto-detect</a> any available <a href="https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-resource-detector-gcp">system resources</a> before your application starts to run. It also ensures that your application loads normally.</p><h3>Run your application with OpenTelemetry</h3><p>Start your newly auto-instrumented server and client. Let’s also turn the debug logs on, so we can see what OpenTelemetry is doing.</p><p>Start the instrumented server:</p><pre>export OTEL_LOG_LEVEL=debug<br>node server_init.js</pre><p>Run the instrumented client:</p><pre>export OTEL_LOG_LEVEL=debug<br>node client_init.js</pre><p>At startup, the debug logs will print out the configuration, and list every successfully loaded instrumentation library. Every time the tracer flushes data, all of the spans which have been exported are printed out. This can be really helpful for debugging when you are setting up.</p><h3>Check out the automatic instrumentation</h3><p>Switch over to your backend of choice (Lightstep for me), and confirm the spans were received:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*liLGQUQb6gtD-b9NPiFOMQ.png" /></figure><p>Yup, we see spans. Click through and look at a trace:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3aIxwzUmeVL0oEF5lHDzMA.jpeg" /></figure><p>Notice that we see a client span from hello-client, a server span from hello-server, and several internal spans representing built-in express components. Also, notice that the client and server spans are already populated with HTTP, network, and other attributes.</p><p>All of this common information is standardized across instrumentation as <a href="https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/semantic_conventions/http.md">semantic conventions</a>. An HTTP request will always be described with the same keys and values, regardless of what language or package it comes from.</p><p>This is a lot of really useful information. We already have a complete trace, with a lot of detail, and we haven’t written any instrumentation yet. When rolling out OpenTelemetry, this is the approach I recommend. Get OpenTelemetry installed into every service and ensure that context is propagating correctly, before adding any further detail. This will be enough information to set up error monitoring and identify latency issues.</p><h3>The OpenTelemetry Javascript API</h3><p>Ok, so the out-of-the-box experience will get you a long way, but of course, you will eventually want to add additional application data. Spans should ideally be managed by your application framework. In this case, the express framework manages the span for you. In your application code, you can continue to decorate these spans with more information. There are two primary types of data you will want to add: attributes and events.</p><p><strong>Span attributes</strong> are indexes for segmenting your data. For example, you may want to add project.id or account.id in order to understand if slow requests and errors are specific to a certain set of accounts, or affecting everyone.</p><p>Fine grain logging can be added as <strong>span events</strong>. Events are a form of structured logging — use them like you would logs. The advantage with span events is that you can automatically find all of the logs associated with a particular transaction, rather than having to go hunting with a bunch of searches and filters. As you scale up, this becomes a lifesaver (or, at least, a big time saver).</p><p>First, require the OpenTelemetry API. At the package level, create a tracer and name it after your package:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b60184202a8539066ac2db22d07fe129/href">https://medium.com/media/b60184202a8539066ac2db22d07fe129/href</a></iframe><p>The name of the tracer appears on every span as the instrumentation.name attribute. This is useful for investigating instrumentation issues.</p><p>Once you have a tracer, you can use it to access the server span created by the express instrumentation. Calling tracer.getCurrentSpan() will return the span for the current context. Once you have access to the span, you can add attributes and events.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9d6aa9e17f9cf5f141832c8633f008f4/href">https://medium.com/media/9d6aa9e17f9cf5f141832c8633f008f4/href</a></iframe><p>You can also chain these methods, which can be a little more concise.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c8e603fc0abcb024517e6021f9ac5c53/href">https://medium.com/media/c8e603fc0abcb024517e6021f9ac5c53/href</a></iframe><p>Run your server and client again, and you will see these new attributes and events show up on the same spans.</p><h3>Creating your own spans</h3><p>You can also create your own spans. These spans will automatically become children of the current span and added to the trace.</p><p>Span management involves three steps: starting the span, setting it as the current span, and ending the span.</p><p>To start a child span, grab the tracer again, and call <strong>tracer.startSpan(name)</strong>. Name the span after the operation you are measuring. Advice on naming can be found in the tracing <a href="https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/api.md#span">specification</a>.</p><blockquote><strong>IMPORTANT:</strong> make sure to end the span when your operation finishes, or you will have a leak!</blockquote><p>When <strong>span.end()</strong> is called, Spans are queued up to be exported in the next flush. Calls to <strong>setAttribute</strong> and <strong>addEvent</strong> become no-ops at this point.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d57ebccb6d9d48c39ea811844f3b0fb4/href">https://medium.com/media/d57ebccb6d9d48c39ea811844f3b0fb4/href</a></iframe><p>So, the above “works,” except the child span has not been set as the current span. In almost all circumstances, this is critical. You want the rest of your code to be able to access the span without handing it around as a parameter. And unless you set the new span as current, <strong>getCurrentSpan</strong> will return the parent span, which would be incorrect.</p><p>So, after you start a span, create a closure in which the span is active by calling <strong>tracer.withSpan(span,cb)</strong>. Within the callback, the new span will now be active.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/30ad46c4da4c23edccf4e050628e35fd/href">https://medium.com/media/30ad46c4da4c23edccf4e050628e35fd/href</a></iframe><p>My advice is to avoid creating child spans, except when you truly require a new context, or want to measure the latency of a specific operation — seprating out a dabatase operation from application code, for example. Ideally, span management should happen in some kind of framework, rather than scattered about your application code. Favor adding events over creating child spans. If you pool all of your attributes on to the same span, you will get better indexing.</p><h3>Error Handling</h3><p>There is one final type of event that deserves special attention: exceptions. In OpenTelemetry, exceptions are recorded as events. But, to ensure that the exception is properly formatted, the <strong>span.recordException(error)</strong> method should be used instead of <strong>addEvent</strong>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3e26c81db9ed8be302dc362fa719b890/href">https://medium.com/media/3e26c81db9ed8be302dc362fa719b890/href</a></iframe><p>By default, exceptions do not count as errors. In OpenTelemetry, an error means that the overall operation did not complete. Plenty of exceptions are expected, and a handled exception does not automatically mean the entire operation failed to complete. In other cases, an operation could fail without an exception being thrown.</p><p>In order to declare an operation a failure, call <strong>span.setStatus()</strong> and pass in an error code. Status codes are used by analysis tools to automatically trigger alerting, measure error rates, etc.</p><blockquote><strong>Note:</strong> status codes will be simplified in the next version of OpenTelemetry.</blockquote><h3>That’s all, folks!</h3><p>And that is that. All you need to know to get started with tracing in NodeJS. Hopefully, that was pretty straight forwards, and clears up any mysteries about how to use OpenTelemetry.</p><p>If you stick with the above patterns, you can get a great deal of visibility with very little work. Of course, there are many more details and options; you can check out the <a href="https://open-telemetry.github.io/opentelemetry-js/">API documentation</a> for more information. I also have a more involved <a href="https://opentelemetry.lightstep.com/js/nodejs-setup/">getting started guide</a>; it works as a handy reference for all of the procedures described above.</p><p>OpenTelemetry is still in beta due to API changes, but it is also already in production across many organizations. If you stick to a <a href="https://github.com/lightstep/otel-launcher-node">Distro</a> and automated instrumentation, you can use OpenTelemetry today without much fear of a breaking change affecting you.</p><p>If you are writing manual instrumentation during the beta, consider creating helper functions that simplify the API for your use cases, and give you a centralized place to manage any potential breakage.</p><p>Also: consider joining our community! There are plenty of libraries left to instrument. You can find us on <a href="https://github.com/open-telemetry/opentelemetry-js">GitHub</a>, or say hi on <a href="https://gitter.im/open-telemetry/opentelemetry-node">gitter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4e1c8f2f93" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OpenTelemetry Launchers: what they solve and why we need them]]></title>
            <link>https://medium.com/@tedsuo/opentelemetry-launchers-what-they-solve-and-why-we-need-them-15fc38d022a?source=rss-62653f8839a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/15fc38d022a</guid>
            <category><![CDATA[opentelemetry]]></category>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[distributed-tracing]]></category>
            <dc:creator><![CDATA[Ted Young]]></dc:creator>
            <pubDate>Tue, 29 Sep 2020 18:23:28 GMT</pubDate>
            <atom:updated>2020-09-29T18:23:28.001Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DTwRmX82cb74FKBVDYNl0g.png" /></figure><p>Exciting times in Otel land! OpenTelemetry is close to GA and v1.0 in a number of languages. We are close to finalizing the<a href="https://github.com/open-telemetry/opentelemetry-specification/issues?q=is%3Aissue+is%3Aopen+label%3Arelease%3Arequired-for-ga"> specification</a>. Release candidates before the end of the year are looking very likely.</p><p>Ever since <a href="http://github.com/bhs">Ben</a> and I co-founded the OpenTelemetry project by merging our prior project (OpenTracing) with its sibling (OpenCensus), we’ve been pushing hard at Lightstep to help make OpenTelemetry a reality. It has been reaffirming to see the beta take off, and watch OpenTelemetry implementations work their way into production.</p><p>Based on beta feedback, we now consider <a href="https://github.com/lightstep/otel-launcher-python">Python</a>, <a href="https://github.com/lightstep/otel-launcher-node">NodeJS</a>, <a href="https://github.com/lightstep/otel-launcher-java">Java</a> and <a href="https://github.com/lightstep/otel-launcher-go">Go</a> to be ready for adoption. I am so happy to announce that Lightstep is officially making OpenTelemetry our recommended choice for getting started in these four languages. OpenTelemetry is real, and you can use it today.</p><p>However, there is one issue which still needs to be addressed: a way to encapsulate setup and configuration.</p><p>To explain: OpenTelemetry is a framework. It was designed to be modular and extensible, more like a toolkit and a platform for innovation than a one-size-fits-all solution. And while a flexible framework with a clear separation of concerns has many advantages, it does come with a drawback: complexity. Without encapsulation, the modularity can end up looking like a bucket of legos. That’s great if you want to build new observability tools (or create adapters to work with existing ones), less great if you just want to get started with the tools we have already built.</p><p>Without encapsulation, OpenTelemetry looks intimidating to set up. The code below represents the minimum configuration needed to get started today with OpenTelemetry and connect it to Lightstep with the correct configuration.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/507a4cb31d9cacd36c73fe56674b7813/href">https://medium.com/media/507a4cb31d9cacd36c73fe56674b7813/href</a></iframe><p>I believe the technical term is 🤮. Well factored, but hardly elegant.</p><p>To clean this copypasta up, the OpenTelemetry team here at Lightstep created a clean way to bundle up all of this bootstrapping, without restricting access to any option or extension point. We’re releasing this packaging layer today as the OpenTelemetry Launchers: a Lightstep distribution of OpenTelemetry.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0a874e5382e63e52bce4b84063cb898f/href">https://medium.com/media/0a874e5382e63e52bce4b84063cb898f/href</a></iframe><p>To say the least, this has way more ✨ than using the lower-level APIs directly.</p><p>We have made launchers for <a href="https://opentelemetry.lightstep.com/python/setup-and-installation">Python</a>, <a href="https://opentelemetry.lightstep.com/java/setup-and-installation">Java</a>, <a href="https://opentelemetry.lightstep.com/js/nodejs-setup">NodeJS</a>, and <a href="https://opentelemetry.lightstep.com/go/setup-and-installation">Go</a>. We hope to see the launchers (or something like them) baked into OpenTelemetry core. Please try them out and give us feedback.</p><p>These launchers can also serve as an example for anyone seeking to build a custom OpenTelemetry distribution. Many existing analysis tools(and future experimental ones) will require specific configuration options and plugins in order to work correctly. Sampling is a good example of a feature where existing tools take wildly different (and incompatible) approaches, and there is still a lot of active development. Another example is which instrumentation libraries to include: some distributions may want to include every library available on the internet, others may want to only include libraries vetted via a security process. Still others may require non-standard plugins which only apply to specific environments.</p><p>I see the community developing a healthy ecosystem of OpenTelemetry distributions: easy to discover, simple to swap with each other. Once OpenTelemetry core is complete, this type of packaging is one area where I would like to turn our attention.</p><p>In related news, I’ve also started work on a new knowledge base. If you look around <a href="http://opentelemetry.lightstep.com">opentelemetry.lightstep.com</a>, you will find links to getting started guides in<a href="https://opentelemetry.lightstep.com/go"> Go</a>,<a href="https://opentelemetry.lightstep.com/python"> Python</a>,<a href="https://opentelemetry.lightstep.com/java"> Java</a>, and<a href="https://opentelemetry.lightstep.com/js"> Javascript</a>. This is only the beginning (the website isn’t even finished, lol). You can expect to see more guides, best practices, and tutorials in the coming months. Keep checking back in, or follow me on <a href="https://twitter.com/tedsuo">twitter</a> if you want to know when new content is published. My goal is to make this the best resource available for learning about OpenTelmetry, distributed tracing, and observability in general. Please check it out, and let me know what kind of content you’d like to see.</p><p>It’s been a great adventure so far. First and foremost, open source is about the people. I’d like to thank Kay, Andrew, Mitch, Steven, Alex, Matt, Carlos, Austin and Josh for all the work they have put in as core contributors, OpenTelemetry language maintainers, and Technical Committee members. Special shout out to Eric for making the docs site a reality.</p><p>From here to GA, it is going to be a blast.</p><p>🚀✨</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15fc38d022a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Roadmap to Convergence]]></title>
            <link>https://medium.com/opentracing/a-roadmap-to-convergence-b074e5815289?source=rss-62653f8839a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b074e5815289</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Ted Young]]></dc:creator>
            <pubDate>Fri, 19 Apr 2019 18:15:59 GMT</pubDate>
            <atom:updated>2019-05-21T16:15:50.650Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*tQHgPpA11lwXZBRXFidPzg.png" /></figure><h3>Merging OpenTracing and OpenCensus: A Roadmap to Convergence</h3><p><em>Authored by Ted Young, Pritam Shah and the “technical specification committee” (Carlos Alberto, Bogdan Drutu, Sergey Kanzhelev, and Yuri Shkuro).</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*74Ds73EYN-uqliyrxp1OKQ.png" /></figure><p><strong>Update:</strong> The merged project now has a name! <a href="http://opentelemetry.io">http://opentelemetry.io</a></p><h3>The short, short version</h3><ul><li>We are creating a new, unified set of libraries and specifications for observability telemetry. It will <a href="https://medium.com/opentracing/merging-opentracing-and-opencensus-f0fe9c7ca6f0">merge the OpenTracing and OpenCensus projects</a>, and provide a supported migration path.</li><li>The Java reference implementation will be available on <strong>April 24th</strong>, and cross-language work will begin in earnest on <strong>May 8th, 2019</strong>. Check out a <a href="https://storage.googleapis.com/open-source-software/OpenConsensus%20Roadmap.jpg">timeline for the merger here</a>.</li><li>By the <strong>September 2019</strong>, we plan to reach parity with existing projects for C#, Golang, Java, NodeJS, and Python. There is a lot to do, but we can make it if we parallelize. If you are interested in being part of this project, please <a href="https://forms.gle/HCGGoLRzoPm6o29K6">sign up</a> and tell us how you would like to contribute.</li><li>When each language reaches parity, the corresponding OpenTracing and OpenCensus project will be sunset. This means that the old projects will be frozen, but the new project will continue to support existing instrumentation for two years, via a backwards compatibility bridge.</li></ul><h3>Project Overview</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QHz1xuIPMisvAn8X72LJSw.jpeg" /></figure><p>We’re merging! The high level goal is to synthesize the OpenTracing and OpenCensus projects into a single, unified project. The core of the new project will be a set of clean and well thought interfaces, and a canonical distribution of libraries implementing those interfaces, referred to as the SDK. Recommended standards for data and wire protocols, along with common pieces of infrastructure, complete the project.</p><p>The result will be a complete telemetry system — suitable for monitoring microservices and other types of modern, distributed systems — and will be compatible with most major OSS and commercial backends.</p><h3>Major Milestones</h3><p><strong>4/24</strong> The reference candidate is presented for review.</p><p><strong>5/8 </strong>Teams form, and work begins in all languages.</p><p><strong>5/20 </strong>Project officially launched at Kubecon Barcelona.</p><p><strong>9/6 </strong>C#, Golang, Java, NodeJS, and Python reach parity with existing projects.</p><p><strong>11/6 </strong>OpenTracing and OpenCensus projects are officially sunset.</p><p><strong>11/20 </strong>Sunset party at Observability Summit, Kubecon San Diego.</p><h3>Timeline to Convergence</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lVj7wonUqGCZszzzjSODlg.jpeg" /></figure><p>The migration for each language involves building a production-ready SDK, instrumentation for popular libraries, documentation, CI, a backwards compatibility bridge, and closing down the associated OpenCensus and OpenTracing projects (“sunsetting”). We have set an ambitious goal of <strong>September 2019</strong> as the target date for parity in C#, Golang, Java, NodeJS, and Python. If a language is not ready by that time, we will push back the sunset date until it is. But we prefer this not to happen.</p><p>When checking out the goals below, think about how you would like to get involved. Let us know by filling in the<a href="https://forms.gle/HCGGoLRzoPm6o29K6"> signup sheet</a>, or saying hello on the<a href="https://gitter.im/opentracing/public"> OpenTracing</a> and<a href="https://gitter.im/census-instrumentation/Lobby"> OpenCensus</a> Gitter chat rooms.</p><p><a href="https://storage.googleapis.com/open-source-software/OpenConsensus%20Roadmap.jpg">Click here</a> to view the timeline as an<a href="https://drive.google.com/file/d/1ZXlvaX8c7ZOurYugXaaYTQ1qavuV7-jY/"> </a>infographic.</p><h4>Goal: First draft of Cross-Language Specification (due May 8th)</h4><p>It is important that the project remain cohesive, even as we work in parallel on separate languages. The Cross-Language Specification provides this guidance for the project. It is written in prose, and ensures that we maintain a coherent system which feels familiar regardless of programming language.</p><p>The first draft of the x-lang spec requires the following:</p><ul><li>Definitions of common terminology.</li><li>A model for describing distributed transactions, stats and metrics.</li><li>Clarifications on important issues encountered during implementation.</li></ul><p>This goal blocks all other work, and a first draft must be completed by<strong> May 8th.</strong></p><h4>Goal: First draft of Data Specification (due July 6th)</h4><p>The Data Specification defines a common data format for tracing and metrics, so that data exported by all processes can be processed by the same telemetry infrastructure, regardless of how the process generated the data. This includes a data schema for the tracing model described in the Cross-Language spec. But it is also includes metadata definitions for common operations that tracing is used to capture, such as HTTP requests, errors, and database queries. These <a href="https://github.com/opentracing/specification/blob/master/semantic_conventions.md">semantic conventions</a> are an example.</p><p>The first draft is based on the current OpenCensus data format, and will contain the following:</p><ul><li>Data Schema which implements the cross-language specification</li><li>Metadata definitions for common operations.</li><li>JSON and Protobuf definitions.</li><li>Reference client implementations.</li></ul><p>Note that there is also a wire protocol for propagating traces in-band, which we would like to standardize on. The <a href="https://w3c.github.io/trace-context/">Trace-Context</a> propagation format is being developed via the W3C, and can be found <a href="https://w3c.github.io/trace-context/">here</a>.</p><h4>Goal: Parity in all currently supported languages (due Sep 6th)</h4><p>In order for the new project to replace the current ones, we must achieve parity with existing language ecosystems.</p><ul><li>Interface definitions for tracing, metrics, and context propagation, based on the Cross-Language specification.</li><li>A production-ready SDK, which implement these interfaces and export Trace-Data. When available, the SDK will be created by porting the existing OpenCensus implementation.</li><li>Instrumentation for popular libraries currently covered by OpenTracing and OpenCensus.</li></ul><p>We also value backwards compatibility, and ensuring a smooth migration from the existing projects.</p><ul><li>The new SDK will contain an OpenTracing bridge, which implements the current OpenTracing interface. This allows legacy OpenTracing instrumentation to work together with new instrumentation in the same process, so users may migrate their instrumentation code incrementally.</li><li>When the new SDK is ready, an upgrade plan for existing OpenCensus users will be available. Like with OpenTracing, legacy instrumentation will continue to work alongside new instrumentation.</li><li>By November, both OpenTracing and OpenCensus will be sunset. No more commits will occur from this point on. Backwards compatibility with legacy instrumentation will be supported for two years.</li></ul><p>It is a lot of work to create a best-in-class SDK for each language, and this is where we need the most help.</p><h4>Goal: Core Documentation (due Sep 6th)</h4><p>Documentation is critical to the success of any open source project. We really want documentation and learning to be a first-class component, and people who write documentation are considered primary committers to this project. Teaching developers how to observe their software correctly is a critical part of the impact we want to make on the world.</p><p>At minimum, we need the following to get started:</p><ul><li>Project Orientation</li><li>Observability 101</li><li>Getting Started</li><li>Language Guides (one per language)</li></ul><p>Writers of all backgrounds and skill levels are welcome! The new website is based on Hugo, written in markdown, and is very easy to contribute to.</p><h4>Goal: Registry v1.0 (due July 6th)</h4><p>Another critical component is the Registry, an improved version of the <a href="https://opentracing.io/registry">OpenTracing Registry</a>.</p><ul><li>Easily find libraries, plugins, installers, and other components.</li><li>Easily add and manage registry components.</li><li>Understand what SDK features are available in each language.</li></ul><p>If you’re interested in design, front end, and UX, this is a great project to be a part of.</p><h4>Goal: Testing and release infrastructure (due Sep 6th)</h4><p>We have a project wide commitment to building a quality testing and release pipeline, to ensure we continue to ship safe code we can rely on. If you care about testing, benchmarking, and release pipelines, please let us know. We will clearly mark the level of production readiness and the maturity of the testing infrastructure will be a major deciding factor.</p><h4>Goal: Sunset OpenTracing and OpenCensus (due Nov 6th)</h4><p>By September 6th, if the new project has reached parity, the existing projects will begin to be shut down. Two months after each language reaches parity, the corresponding OpenTracing and OpenCensus projects will be sunset. This means the following:</p><ul><li>The repositories will be frozen, and no more commits will be made.</li><li>There will be a two year support plan for existing instrumentation.</li><li>Users can upgrade to the new SDK while continuing to use existing instrumentation.</li><li>It will be possible to migrate instrumentation over incrementally.</li></ul><h3>Get Involved</h3><p>This is a huge project, and we need all hands on deck. If you’ve been curious to learn about observability, this is the perfect time to get involved!</p><ul><li>Fill in the <a href="https://forms.gle/HCGGoLRzoPm6o29K6">sign up form</a> to join a team and get directly involved.</li><li>Contact us on the <a href="https://gitter.im/opentracing/public">OpenTracing</a> and <a href="https://gitter.im/census-instrumentation/Lobby">OpenCensus</a> Gitter channels.</li><li>Check out the J<a href="https://github.com/bogdandrutu/openconsensus/">ava reference implementation</a> currently under development.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b074e5815289" width="1" height="1" alt=""><hr><p><a href="https://medium.com/opentracing/a-roadmap-to-convergence-b074e5815289">A Roadmap to Convergence</a> was originally published in <a href="https://medium.com/opentracing">OpenTracing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OpenTracing Docuthon: June 13th]]></title>
            <link>https://medium.com/opentracing/opentracing-docuthon-july-13th-f06aab7955fe?source=rss-62653f8839a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f06aab7955fe</guid>
            <category><![CDATA[documentation]]></category>
            <category><![CDATA[hackathons]]></category>
            <category><![CDATA[opentracing]]></category>
            <dc:creator><![CDATA[Ted Young]]></dc:creator>
            <pubDate>Sat, 02 Jun 2018 04:36:35 GMT</pubDate>
            <atom:updated>2018-06-04T21:05:20.979Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Everyone! The current OpenTracing website has grown long in the tooth. Now that the OpenTracing API is stabilizing, it’s time to give the documentation an overhaul. We’ve identified two main issues that could help with this.</p><p>The first is that the current website, written in Jekyll, was too hard to edit. On a clean macbook, it would take ~1.5 hours to load up everything needed to get the site running locally. Boooo.</p><p>To solve this, OpenTracing is getting a new website. We’re switching from Jekyll to <a href="https://gohugo.io/">Hugo</a>, which works in a similar manner, but allows users to get to work just by downloading a single binary. Big shout out to <a href="https://github.com/lucperkins">Luc Perkins</a> for making this happen!</p><p>The second issue is developing much more in-depth documentation. In addition to high-level documentation that explains basic OpenTracing concepts and terminology, we see the need for language-specific documentation which demonstrates many of the common scenarios users encounter when instrumenting their code. Think of it as an OpenTracing cookbook full of tracing recipes.</p><p>Last but not least, we want to explain tracing in general, including the parts that OpenTracing specifically does not touch — wire protocols and the like — along with clear explanations for why these are not included as part of the OpenTracing project. The tracing landscape is fairly fractured, and if OpenTracing became the best place to learn about tracing in general, it would be a boon to the community. Explaining each component of a tracing system, what options are available, and why things are divided up they way they are, will be part of the new website.</p><p>So, to kick-start the new documentation initiative, we’d like to bring together API maintainers, writers, and community members for an all-day documentation hackathon. Details are below.</p><p><strong>Sign up:</strong> <a href="https://goo.gl/forms/BCRDFqndp7I2qdwQ2">https://goo.gl/forms/BCRDFqndp7I2qdwQ2</a></p><p><strong>When:</strong> Wednesday, June 13th</p><p><strong>Where:</strong> <a href="https://gitter.im/opentracing/docs">Gitter</a>, with live meetups in San Francisco, Boston, Munich, and (possibly) Austin. Start time and addresses TBD.</p><p><strong>How it works:</strong></p><p>First, download Hugo, then git clone <a href="https://github.com/opentracing/opentracing.io">the OpenTracing website</a> and check out the v2.0 branch. That’s all you need to do to get started.</p><p>We’ll be using GitHub to manage the documentation backlog. Find the issue for each piece of documentation you want to work on, look at who else is assigned and start collaborating. Once you’re ready for an editorial review, make a PR. It’s that easy! Writers, organizers and domain experts will be available to answer questions.</p><p>To be clear, there’s no need to be a great writer to write documentation! We’ll assist in cleaning it up and polishing everything. The most important part of this exercise is to get a brain dump of all the knowledge in the OpenTracing community into a central repository of knowledge. If there’s ever been a piece of documentation you wish existed when <em>you </em>were learning about tracing</p><p>Once again, don’t forget to <a href="https://goo.gl/forms/BCRDFqndp7I2qdwQ2">sign up</a>! If you can’t make it this time, or have any questions, join the <a href="https://gitter.im/opentracing/docs">docs channel on gitter</a> and we’ll be glad to plug you in. Looking forwards to seeing you all there.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f06aab7955fe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/opentracing/opentracing-docuthon-july-13th-f06aab7955fe">OpenTracing Docuthon: June 13th</a> was originally published in <a href="https://medium.com/opentracing">OpenTracing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First Release Candidate for OpenTracing-Python 2.0.0]]></title>
            <link>https://medium.com/opentracing/announcing-python-opentracing-2-0-0-fa4e4c9395a?source=rss-62653f8839a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa4e4c9395a</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[opentracing]]></category>
            <dc:creator><![CDATA[Ted Young]]></dc:creator>
            <pubDate>Wed, 21 Feb 2018 20:33:43 GMT</pubDate>
            <atom:updated>2018-07-10T23:06:39.176Z</atom:updated>
            <content:encoded><![CDATA[<p>The release candidate for the <strong>2.0.0</strong> version of Python OpenTracing is now available.</p><p>The Scopes approach for context propagation has been adopted from Java 0.31. For asynchronous code, span lifecycle management is now handled in framework instrumentation rather than tracer internals (through specific implementations of <strong>ScopeManager</strong>).</p><p>At this time, we recommend tracer implementers start porting to the new API and check out the backwards compatibility layer, while instrumentation maintainers begin preparing a v2.0.0 version of their library on a branch tagged with ot_v2.0.0 .</p><p><strong>Changes from v1.3.0 to v2.0.0-rc1</strong></p><ul><li><strong>Scope</strong> and <strong>ScopeManager</strong> added to the API.</li><li>A <strong>Scope</strong> represents an execution context. Each <strong>Scope</strong> contains a <strong>Span</strong>, and is deactivated when <strong>Scope.close()</strong> is called.</li><li><strong>ScopeManager.activate(span, finish_on_close)</strong> associates a <strong>Span </strong>with the current context, returning a new <strong>Scope</strong>.</li><li><strong>ScopeManager.active()</strong> returns the currently active <strong>Scope</strong>, or else None.</li><li><strong>Tracer.start_active_span()</strong> creates a new <strong>Span</strong> <em>and</em> automatically activates it.</li><li><strong>Tracer.start_span()</strong> and <strong>Tracer.start_active_span()</strong> will automatically use the current active <strong>Span</strong> as a parent, unless the programmer passes a specified parent context or sets <strong>ignore_active_span=True</strong>.</li></ul><p><strong>Changes from BasicTracer v2.2.0 to v3.0.0-rc1</strong></p><ul><li>Updated the API to use <strong>ScopeManager</strong>.</li><li><strong>ThreadLocalScopeManager</strong> added as <strong>ScopeManager</strong> implementation using thread-local storage.</li></ul><p><strong>General notes</strong></p><ul><li>We used properties instead of methods where possible (<strong>Tracer.scopeManager</strong>, <strong>Scope.span</strong>, for example). This is done to preserve the current coding style we have on elements such as <strong>Span.context</strong> and <strong>Span.manager</strong>.</li></ul><h3>Release Artifacts</h3><p><strong>Release Candidate Branch<br></strong><a href="https://github.com/opentracing/opentracing-python/tree/v2.0.0">https://github.com/opentracing/opentracing-python/tree/v2.0.0</a><br><a href="https://github.com/opentracing/basictracer-python/tree/v3.0.0">https://github.com/opentracing/basictracer-python/tree/v3.0.0</a></p><p><strong>PyPi Package<br></strong><a href="https://pypi.python.org/pypi/opentracing/2.0.0rc1">https://pypi.python.org/pypi/opentracing/2.0.0rc1</a><br><a href="https://pypi.python.org/pypi/basictracer/3.0.0rc1">https://pypi.python.org/pypi/basictracer/3.0.0rc1</a></p><p><strong>Tracking Issue: Motivation, Proposals, and Pull Requests.<br></strong><a href="https://github.com/opentracing/opentracing-python/issues/65">https://github.com/opentracing/opentracing-python/issues/65</a></p><p>Thanks to <a href="https://github.com/palazzem">Emanuele Palazzetti</a> and <a href="https://github.com/carlosalberto">Carlos Alberto</a>, the primary authors of this release!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa4e4c9395a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/opentracing/announcing-python-opentracing-2-0-0-fa4e4c9395a">First Release Candidate for OpenTracing-Python 2.0.0</a> was originally published in <a href="https://medium.com/opentracing">OpenTracing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Announcing Java OpenTracing v0.31]]></title>
            <link>https://medium.com/opentracing/announcing-java-v0-31-release-candidate-6e1f1a922d2e?source=rss-62653f8839a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e1f1a922d2e</guid>
            <category><![CDATA[opentracing]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <dc:creator><![CDATA[Ted Young]]></dc:creator>
            <pubDate>Fri, 22 Dec 2017 09:21:07 GMT</pubDate>
            <atom:updated>2017-12-22T18:40:53.367Z</atom:updated>
            <content:encoded><![CDATA[<p>The release candidate for the v0.31 version of Java OpenTracing is now available.</p><p>Based on feedback, the v0.30 context propagation has been simplified. The capture phase and reference-counting are removed. For asynchronous code, span lifecycle management is now handled in framework instrumentation rather than tracer internals.</p><p>Assuming there are no blockers, this work will be merged into master on <strong>January 8th</strong>. At this time, we recommend tracer implementers start porting to the new API and check out the backwards compatibility layer, while instrumentation maintainers begin preparing a v0.31 version of their library on an ot_v031 branch.</p><h3>Changes from v0.30</h3><ul><li><strong>BaseSpan</strong> and <strong>ActiveSpan</strong> are simplified into a single <strong>Span</strong> class.</li><li><strong>Scope</strong> replaces <strong>ActiveSpan</strong>, removing the continuation concept. There is no longer a capture phase. Scopes are only activated and then closed.</li><li><strong>ScopeManager</strong> replaces <strong>ActiveSpanSource</strong>, and is expected to be passed to the tracer at initialization time.</li><li><strong>ScopeManager.activate(Span,bool)</strong> creates a <strong>Scope</strong> for the current context. The <strong>finishOnClose</strong> flag optionally calls S<strong>pan.finish()</strong> on S<strong>cope.close()</strong>.</li><li><strong>ScopeManager.active()</strong> returns the <strong>Scope</strong> associated with the current context.</li><li><strong>Tracer.activeSpan()</strong> returns the current value of <strong>Tracer.scopeManager().active().span()</strong> as a convenience.</li><li><strong>ThreadLocalScopeManager</strong> replaces <strong>ThreadLocalActiveSpanSource</strong>. It still uses thread-local storage for tracking active spans, but removes the reference counting used previously for span lifetime handling.</li><li>The <strong>binary</strong> carrier format has been changed from a fixed-size <strong>ByteBuffer</strong> to a streaming <strong>Binary</strong> implementation.</li><li>A <strong>backwards compatibility package</strong> has been created to allow v0.30 and v0.31 instrumentation to coexist. The package contains the <strong>io.opentracing.v_030</strong> namespace and a <strong>shim</strong> which provides a v0.31 tracer with a v0.30 interface.</li></ul><h3>Details on v0.31</h3><p><strong>Release Candidate branch<br></strong><a href="https://github.com/opentracing/opentracing-java/tree/v0.31.0">https://github.com/opentracing/opentracing-java/tree/v0.31.0</a></p><p><strong>Maven artifact </strong><a href="https://mvnrepository.com/artifact/io.opentracing/opentracing-api/0.31.0-RC2">https://mvnrepository.com/artifact/io.opentracing/opentracing-api/0.31.0-RC2</a></p><p><strong>io.opentracing.v_030</strong> c<strong>ompatibility package<br></strong><a href="https://github.com/opentracing/opentracing-java-v030">https://github.com/opentracing/opentracing-java-v030</a></p><p><strong>Tracking Issue: motivation, proposals, and pull requests<br></strong><a href="https://github.com/opentracing/opentracing-java/issues/189">https://github.com/opentracing/opentracing-java/issues/189</a></p><p><strong>API Examples</strong><br>Please check out the <a href="https://github.com/opentracing/opentracing-java/tree/v0.31.0/opentracing-examples">io.opentracing.examples</a> package for common instrumentation patterns.</p><p>Thanks to everyone who contributed code, testing and feedback into this release, including <a href="https://github.com/carlosalberto">carlosalberto,</a> <a href="https://github.com/pavolloffay">pavolloffay,</a> <a href="https://github.com/objectiser">objectiser</a>, <a href="https://github.com/yurishkuro">yurishkuro</a>, <a href="https://github.com/tylerbenson">tylerbenson</a>, <a href="https://github.com/mabn">mabn</a>, <a href="https://github.com/bhs">bhs,</a> <a href="https://github.com/gkumar7">gkumar7</a>, <a href="https://github.com/sjoerdtalsma">sjoerdtalsma</a>, <a href="https://github.com/wu-sheng">wu-sheng</a>, <a href="https://github.com/malafeev">malafeev</a>, <a href="https://github.com/mcumings">mcumings,</a> <a href="https://github.com/hypnoce">hypnoce</a>, <a href="https://github.com/rbtcollins">rbtcollins</a>, <a href="https://github.com/adriancole">adriancole</a>, <a href="https://github.com/ivantopo">ivantopo</a>, <a href="https://github.com/eli-jordan">eli-jordan</a>, and many others! 🎉🎉🎉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e1f1a922d2e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/opentracing/announcing-java-v0-31-release-candidate-6e1f1a922d2e">Announcing Java OpenTracing v0.31</a> was originally published in <a href="https://medium.com/opentracing">OpenTracing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>