From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <harry.van.haaren@intel.com> Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id A70932BD3 for <dev@dpdk.org>; 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" <harry.van.haaren@intel.com> To: "Laatz, Kevin" <kevin.laatz@intel.com>, "dev@dpdk.org" <dev@dpdk.org> CC: "stephen@networkplumber.org" <stephen@networkplumber.org>, "gaetan.rivet@6wind.com" <gaetan.rivet@6wind.com>, "shreyansh.jain@nxp.com" <shreyansh.jain@nxp.com>, "thomas@monjalon.net" <thomas@monjalon.net>, "mattias.ronnblom@ericsson.com" <mattias.ronnblom@ericsson.com>, "Richardson, Bruce" <bruce.richardson@intel.com>, Ciara Power <ciara.power@intel.com>, Brian Archbold <brian.archbold@intel.com> 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: <E923DB57A917B54B9182A2E928D00FA65E2ECA70@IRSMSX102.ger.corp.intel.com> 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=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 <harry.van.haaren@intel.com>; > stephen@networkplumber.org; gaetan.rivet@6wind.com; shreyansh.jain@nxp.co= m; > thomas@monjalon.net; mattias.ronnblom@ericsson.com; Richardson, Bruce > <bruce.richardson@intel.com>; Ciara Power <ciara.power@intel.com>; Brian > Archbold <brian.archbold@intel.com>; Laatz, Kevin <kevin.laatz@intel.com> > Subject: [PATCH v4 08/13] telemetry: format json response when sending st= ats >=20 > From: Ciara Power <ciara.power@intel.com> >=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 <ciara.power@intel.com> > Signed-off-by: Brian Archbold <brian.archbold@intel.com> > Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> > --- Acked-by: Harry van Haaren <harry.van.haaren@intel.com>