From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id A70932BD3 for ; Tue, 16 Oct 2018 02:46:18 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Oct 2018 17:46:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,386,1534834800"; d="scan'208";a="271605461" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by fmsmga005.fm.intel.com with ESMTP; 15 Oct 2018 17:46:16 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.67]) by IRSMSX151.ger.corp.intel.com ([169.254.4.71]) with mapi id 14.03.0319.002; Tue, 16 Oct 2018 01:46:15 +0100 From: "Van Haaren, Harry" To: "Laatz, Kevin" , "dev@dpdk.org" CC: "stephen@networkplumber.org" , "gaetan.rivet@6wind.com" , "shreyansh.jain@nxp.com" , "thomas@monjalon.net" , "mattias.ronnblom@ericsson.com" , "Richardson, Bruce" , Ciara Power , Brian Archbold Thread-Topic: [PATCH v4 08/13] telemetry: format json response when sending stats Thread-Index: AQHUYYPBGFRVMDEd2kqyu/obtA/k1aUhEC4w Date: Tue, 16 Oct 2018 00:46:15 +0000 Message-ID: References: <20181010105134.48079-1-kevin.laatz@intel.com> <20181011165837.81030-1-kevin.laatz@intel.com> <20181011165837.81030-9-kevin.laatz@intel.com> In-Reply-To: <20181011165837.81030-9-kevin.laatz@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTZjNzc0NzYtNDg4MS00MmM3LTg0OWUtNGZiZDRhOGZiNDdlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibEFzREpQOW9TekpRY3dFM3B1TmFWeFpsZnZyc3F6b2dwQnFQK0JVaW9IQmxQXC9rQ01wNHFUQXNibnROcjhPZHMifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 08/13] telemetry: format json response when sending stats X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2018 00:46:19 -0000 > -----Original Message----- > From: Laatz, Kevin > Sent: Thursday, October 11, 2018 9:59 AM > To: dev@dpdk.org > Cc: Van Haaren, Harry ; > stephen@networkplumber.org; gaetan.rivet@6wind.com; shreyansh.jain@nxp.co= m; > thomas@monjalon.net; mattias.ronnblom@ericsson.com; Richardson, Bruce > ; Ciara Power ; Brian > Archbold ; Laatz, Kevin > Subject: [PATCH v4 08/13] telemetry: format json response when sending st= ats >=20 > From: Ciara Power >=20 > This patch adds functionality to create a JSON message in > order to send it to a client socket. >=20 > When stats are requested by a client, they are retrieved from > the metrics library and encoded in JSON format. >=20 > Signed-off-by: Ciara Power > Signed-off-by: Brian Archbold > Signed-off-by: Kevin Laatz > --- Acked-by: Harry van Haaren