From dev-return-46442-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Thu Jun 27 09:30:44 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id DB243180607 for ; Thu, 27 Jun 2019 11:30:43 +0200 (CEST) Received: (qmail 6249 invoked by uid 500); 27 Jun 2019 09:30:43 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 6234 invoked by uid 99); 27 Jun 2019 09:30:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2019 09:30:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1B77FC2D7D for ; Thu, 27 Jun 2019 09:30:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.15 X-Spam-Level: X-Spam-Status: No, score=0.15 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id HJ8I_2AQJ9ed for ; Thu, 27 Jun 2019 09:30:36 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::229; helo=mail-lj1-x229.google.com; envelope-from=nizhikov.dev@gmail.com; receiver= Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 3A17CBC95A for ; Thu, 27 Jun 2019 09:30:36 +0000 (UTC) Received: by mail-lj1-x229.google.com with SMTP id k18so1580770ljc.11 for ; Thu, 27 Jun 2019 02:30:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:message-id:subject:to:date:mime-version; bh=pkoKRaJBylL/tKeisdMSyIwPwC4XtHPIZ7hBp/RuYqI=; b=qroCrIA1B420YnSubAuKfyPyjwX7yI6CEjfzgbFLFq5dBzSufWNDjmYkSb9H42FEsB OH8shwtRe8th4CnBMV8OhSAjqQCl43qQBdbBCt2AhloBXSL5GajOHbJx2PAhixUeDcmB vXIIUtMQf6n+sF7ke377N+ngigLu7YU3TNwBwy4LjzzNqVoy6cJZgYz9fUQE06tApb+V ncIX0Cx0qe0KLUvP8zy26dU2RxII0ChnM8LYBE3j5LRWIt0nPkbTfSwNItk2mulajHaU POZ/bRmCpnd8dxc41tXIy4A9WesypgkhwYat0A+NZpwjAKOnvAG80mmimppAFPA5ByeR Eemw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:message-id:subject:to:date :mime-version; bh=pkoKRaJBylL/tKeisdMSyIwPwC4XtHPIZ7hBp/RuYqI=; b=tc1R5HVJ8WjRn1VDRvtbTTMVov38CjXIWlLMNLQ+5zJvv3Xj18nVNWdoaywlDdxvD/ XEBD9TOI0qNfygnAtE2DZfT3Ei2XPIIy+V99zRXE8Im0XNRlVfOJKMcURK1ewmoOv2mi 99hHny9oeAHXEc9cJZMkr4djZc4mx3fN/FiO5I4tVnx8gqgd9U/B5at0ueT9/H3EHAEP DqlR1rjZea74EJNECpDb9m5IX703ZsyJKXbiZkuMGYda7PR5uXvBXW45SKgXvI6GyQFd G9VaYumr4IKdDbI24mksSXA//z2oXh+Abwk+SIJHhL///wpROWtVlwpyAbXE3sC5pe99 UY8A== X-Gm-Message-State: APjAAAVdLgfWh/tDi65AQor2OIZ2r2bI3dieH7Yp2/lWeLD2A6sJOuN/ k415X9vakObR9ta6VbR5EQz6GCSOkjM= X-Google-Smtp-Source: APXvYqzg55lrnrmAqOhF7q4TUruj22cIOO7cmVcFyuHNkekefI/0mItMRF6yjqMvwkntP/RySdq+mQ== X-Received: by 2002:a2e:9cd1:: with SMTP id g17mr2058492ljj.234.1561627829317; Thu, 27 Jun 2019 02:30:29 -0700 (PDT) Received: from newDragon ([5.35.103.225]) by smtp.googlemail.com with ESMTPSA id h131sm261114lfe.80.2019.06.27.02.30.27 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Jun 2019 02:30:28 -0700 (PDT) Sender: =?UTF-8?B?0J3QuNC60L7Qu9Cw0Lkg0JjQttC40LrQvtCy?= From: Nikolay Izhikov X-Google-Original-From: Nikolay Izhikov Message-ID: <4f4d71bacdd0356d83a8775eea8897c21ce1ea35.camel@gmail.com> Subject: [DISCUSSION][IEP-35] Metrics configuration To: dev Date: Thu, 27 Jun 2019 12:32:58 +0300 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-EK0cTB5y8RPbkhk7Urf1" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 --=-EK0cTB5y8RPbkhk7Urf1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Igniters. As you may know, I've contributed Phase1 [1] for IEP-35 [2]. Now we have metrics subsystem and can create and export any metrics from Ig= nite. I think user(administrator of Ignite) should be able to configure some metr= ics params in a common way [3] I propose to use the same way from logging frameworks. We should define some file format Ignite can understand. An administrator fills configuration file to configure one or several metri= cs. Ignite will analyze the file and use provided params during metrics creatio= n. For now, we have 2 types of metrics that should be configured: * HistrogramMetric [4]=20 This metric is a count of measurement that falls into predefined interval= s. An example is "Request processing time distribution". We want to calculate a count of requests processed quicker then 50ms, 50-= 100, 100-250, 250-500 and slower. * HitRateMetric [5] This metric is a count of events in the last time interval. An example is the "Count of requests processed in the last 5 seconds". Example of file content: ```` cache.my-cahe.GetLatency=3D50,100,250,500 #Params for the histogram metric = with the name `cache.my-cahe.get` cache.my-cache.RebalancingKeysRate=3D60000 #Param for existing HitRateMetri= c that hold "Estimated rebalancing speed in keys". ```` Please, share your vision. [1] https://github.com/apache/ignite/commit/fdaa310430aefff07994eb35510d341= 6886b5bbe [2] https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=3D1128= 20392 [3] https://issues.apache.org/jira/browse/IGNITE-11927 [4] https://github.com/apache/ignite/blob/master/modules/core/src/main/java= /org/apache/ignite/internal/processors/metric/impl/HistogramMetric.java [5] https://github.com/apache/ignite/blob/master/modules/core/src/main/java= /org/apache/ignite/internal/processors/metric/impl/HitRateMetric.java --=-EK0cTB5y8RPbkhk7Urf1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEOiTcLcdgyP2exB5ZbiaPbjg91GUFAl0UjUoACgkQbiaPbjg9 1GWt6AgA3A/JPnBlKe2cGu7VtbrW7L5ZtOdM2ie46+o6MLq0CwDtxIed6RdxarLq s+20K2vvHuBtkEkf2wj7qWJesaZD3+/54pwCj/scYV3VZCgc/9Voqkks0RGk5i8c Qk4y8ZF4z3crG3HVF2YFIU1NjlVNXS9h/SedF+4slg+ihOxGUNmz6rbY7jhSpRd7 NJs4hLUfNujW8LkcmeQv0dUv4iuASL/2SnI/j5SoSO0UR3cJxP2NMo7ENQHmFVOv si2zeGkG1WNLegLzCcPbmLjE1FpkgN5Hdc76NBNZ2BHTpGvoNN9Fzp2I8r9PIRx5 2+5DcH1GxCKER0zHnGm5OhXFUk5zyA== =8rsi -----END PGP SIGNATURE----- --=-EK0cTB5y8RPbkhk7Urf1--