From owner-svn-src-head@freebsd.org Thu Dec 22 19:42:55 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F272C8D47B for ; Thu, 22 Dec 2016 19:42:55 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5CF67F30 for ; Thu, 22 Dec 2016 19:42:55 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by mail-yw0-x231.google.com with SMTP id v81so17925573ywb.2 for ; Thu, 22 Dec 2016 11:42:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuxi-nl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=xx2uty5DmqTGvyFg777yzTFvDWwjapNmTzx8WJw76yU=; b=KIGZ1aUEXG8npRTIvxtCL6M7J0AD9CMFjb43BKKQQoK2NzVYyICpzNIBVREsKvGiTg 1JFAuFS3ik8UrNyBru+gsCh6CTS+REfKoL5YwfHzVtoY0PghJwmUXeiqT2QyOsQ9uGQF QmK3B2b0mlyejVx3oSP4ZDecfsmvw3qwctWRBbnvbUkjwkL39xoxjinV7OYrYXRvoPLM vfb1pA1A5UYYkyyjYJ1XX+Ov3FAp1D1tdcGBuvYqtNdXwizjDjQStGYU+d+s8Ly5jptI QCctHp+UCtzTrJqkn2cD7mUJE39F1B6Chc4/NWvmSfEnH8KSnTUdEF7aQaD/Ag3Egfvt 0alA== 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:content-transfer-encoding; bh=xx2uty5DmqTGvyFg777yzTFvDWwjapNmTzx8WJw76yU=; b=gknrFMPy1TIwCYoNsG/lkBT0/i5+NAE/1rO8uxB3O+OqKBdQXzmxiVVBFdX1jVHgkG KLOzWNS+l32ZksH9gQPq1Z6oTVtt/iFU/EqNxuuKv43bX9sV/pzZjuR2tdIFIRWlRDDR IHsuCbbpABgdKTh8RyHGLQZm4v6mhMbptSCjiZa92HD2JSrXQ99P/trIPR4B276NIcNq Ry2HCMgxy0vheoTUsQh0FFA3dhayUgLSOTJAru2PoXpBLHBTcIvRCIu8KsR46pZR8LQo /P5aVvrfLspUFEUQwAff/ZSatHd8qZj9ofFWR6tl7cNI2yAJsP4vKCncsz3TRxa+SgIG Beog== X-Gm-Message-State: AIkVDXKyH/a95O59xn0FOHJ1yY3tdiJqsE6R9rViV8WDO7Pj6YBTrNMgNoCHqzCuTVWeBYO5Rz5L+92ixwKMdA== X-Received: by 10.13.221.215 with SMTP id g206mr9674883ywe.350.1482435774391; Thu, 22 Dec 2016 11:42:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.2.139 with HTTP; Thu, 22 Dec 2016 11:42:24 -0800 (PST) In-Reply-To: <20161221195304.GA3396@brick> References: <201612210829.uBL8Tijt041811@repo.freebsd.org> <20161221195304.GA3396@brick> From: Ed Schouten Date: Thu, 22 Dec 2016 20:42:24 +0100 Message-ID: Subject: Re: svn commit: r310354 - in head/usr.sbin: . prometheus_sysctl_exporter To: Ed Schouten , Adrian Chadd , Ed Schouten , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2016 19:42:55 -0000 Hey! 2016-12-21 20:53 GMT+01:00 Edward Tomasz Napiera=C5=82a = : > That's a very good reason; it could also be fixed by moving > it from sbin/ to libexec/. I'm not sure that doing that is a good idea. You can also invoke this exporter through cron(8), so that it can be collected by the Prometheus node exporter. Another use case is invoking it from within a CGI script, so that it can be embedded in an existing web service. Storing the executable under /usr/libexec would therefore be a bit weird. > Another advantage of having the "prometheus" in the name is that it's > easily googlable, and it clearly indicates the "protocol" (in the wide > meaning) one is supposed to use to talk to it. Agreed. Let's leave it the way it is right now, as I don't feel like upsetting Warner. ;-) --=20 Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717