Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BB7C6200C3E for ; Tue, 7 Mar 2017 05:51:36 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B9FEA160B81; Tue, 7 Mar 2017 04:51:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0F255160B76 for ; Tue, 7 Mar 2017 05:51:35 +0100 (CET) Received: (qmail 53015 invoked by uid 500); 7 Mar 2017 04:51:35 -0000 Mailing-List: contact dev-help@htrace.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@htrace.incubator.apache.org Delivered-To: mailing list dev@htrace.incubator.apache.org Received: (qmail 52996 invoked by uid 99); 7 Mar 2017 04:51:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2017 04:51:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 76EAD1849C6 for ; Tue, 7 Mar 2017 04:51:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.399 X-Spam-Level: X-Spam-Status: No, score=0.399 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id fP06VibXD_Rj for ; Tue, 7 Mar 2017 04:51:33 +0000 (UTC) Received: from mail-wr0-f182.google.com (mail-wr0-f182.google.com [209.85.128.182]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D54135F624 for ; Tue, 7 Mar 2017 04:51:32 +0000 (UTC) Received: by mail-wr0-f182.google.com with SMTP id u108so130592331wrb.3 for ; Mon, 06 Mar 2017 20:51:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=PZluV9l/ozApXwnYfhFjnt/Ler26J4htDuMhuPB870A=; b=dRnzK3nk3jUc2vMBBIf5cheKn8pv+F7dI+C+fu+BuMi0y4i+p6hd3dkzV9nIYReXrs HgwlKTNtfMuEAEaSVwges0F7HGriouaZf9Ph6X+AUOcyNg8msVFwxAzGjYooMDPbwNEz 74mG1UzZFTyxGRElNOlQCDPV2k3S3IJud3vsYDNA2wfIy2KMYSlbqvvUU8diu9ECEcut VkOpIg4UbrVaCtcDDIWfRq5qbpisiFdluiMEKuy7RpAFpshENaPWAegl6MT+QsfkbCgg 2WAPfKoP7QHV3PjeZ5oyt4oW+nhWHdBIZXiSDBz6IG/OBj4ffwQX/sCrcpcHEsxl+D1Y eImQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=PZluV9l/ozApXwnYfhFjnt/Ler26J4htDuMhuPB870A=; b=k0PmTMJOf6Q6k3VMmc90ZG2E8lUbARTryV16QC10qHEeqNvkwqKPyebl7a7FMsMbLL sIT0dHcxkm91mXlLi7i6rWM1iLW7wHqb/Fklhgu07gEaXsje7BqUW+eJt6QXwXCDQNZJ IOXKLtG3nmt5g01ZId9ebTIggQcFOKKUehae/YJ2CF/PLwuRU5Tqw7OfMVZi510MvIzW EWCZHOqiMpkW6MSmUNaMRnLCQ3Rhzbo7iS6QSb7LQbjU0UIBVNN/IuAck6n6tCSnUmAD 5Fya3mHYXc+ggv5TyTeqkCzFfOclf/bi9qRxvewvis3mLnnjpPFfrgTkDfaP4OgU/7BC U2bw== X-Gm-Message-State: AMke39mdsmbe1oaH0hfxONTnlmJ7/i6xTyDe2Az4Ie/kUAgZTLYZgTvJ5it4hH8ZWwuUXe21MA1IuhkgezNMjg== X-Received: by 10.223.134.231 with SMTP id 36mr19862130wry.46.1488862291708; Mon, 06 Mar 2017 20:51:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.194.154 with HTTP; Mon, 6 Mar 2017 20:51:31 -0800 (PST) In-Reply-To: References: <1488825121.217667.902255272.3835A1D2@webmail.messagingengine.com> From: Adrian Cole Date: Tue, 7 Mar 2017 12:51:31 +0800 Message-ID: Subject: Re: [DISCUSS] OpenTracing API implementation To: dev@htrace.incubator.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Tue, 07 Mar 2017 04:51:36 -0000 > If nobody steps up to implement it before me or working on it yet, I'll try > to get my hands into it. Unfortunately I'm not sure when I'd have spare > time for it. There will be some work needed in htrace as the OT interface is wider in most places, but not precise in others. It should be easier than zipkin, since htrace has a single span per tracer model. That said there are some key concerns which may or may not play out well, particularly htrace's lack of a trace ID. For example, you'll have choices to make on how to handle nested data structures that are sent via its "log" api. Also, if or how to map "special" properties defined in opentracing such as "span.kind". How to deal with the required propagation apis (for example, how to encode and decode a trace context in binary and text form). Sadly, there's no compatibility kit or interop tests of any kind, so figuring out if things work will largely be up to testers. Anyway, in case it helps, here are a couple bridge projects: https://github.com/openzipkin/brave-opentracing https://github.com/DealerDotCom/sleuth-opentracing > I had two things in mind starting this discussion: > - check that nobody is working on it yet (to avoid wasting time if someone > is); pretty confident you are it. > - check that such work would be useful for someone else. this is an important step! There's certainly work to do, and best to not go at it without at least a user to help q/a. I'd ping their gitter and/or use twitter to recruit others interested if I were you. > I haven't checked with IPMC and legal but opentracing seems to be under > Apache License v2.0 and has no externtal deps, so it should be ok as > external dependency. agreed, though bear in mind OT java at least is <1.0, so you'd need to plan for how to manage version updates (since htrace is more coarse grained at >1.0. Good luck on your journey!