Scraping Envoy Metrics Using the Prometheus Operator
On a recent customer project, I recommended the use of Heptio Contour for ingress on their Kubernetes cluster. For this particular customer, Contour’s support of the IngressRoute CRD and the ability to delegate paths via IngressRoutes made a lot of sense. Of course, the customer wanted to be able to scrape metrics using Prometheus, which meant I not only needed to scrape metrics from Contour but also from Envoy (which provides the data plane for Contour). In this post, I’ll show you how to scrape metrics from Envoy using the Prometheus Operator.
First, I’ll assume that you’ve already installed and configured Prometheus using the Prometheus Operator, a task which is already fairly well-documented and well-understood. If this is something you think would be helpful for me to write a blog post on, please contact me on Twitter and let me know.
The overall process looks something like this:
- Modify the Envoy DaemonSet (or Deployment, depending on your preference) to add a sidecar container and expose additional ports.
- Modify the Service for the Envoy DaemonSet/Deployment to expose the ports you added in step 1.
- Add a ServiceMonitor object (a CRD added by the Prometheus Operator) to tell Prometheus to scrape Continue reading
SDxCentral Weekly Wrap for Feb. 1, 2019: Cisco expands its Application Centric Infrastructure into AWS and Azure, Vodafone pauses Huawei purchases, and Juniper's disappointing results.
Microsoft has been chasing AWS as it tries to overtake its larger rival as the leading cloud infrastructure vendor. But it doesn’t look like that will happen any time soon.
The U.K.-based managed security service provider SecureData, and its security consulting arm, will continue to operate independently alongside Orange’s own security unit.
One analyst said Ericsson is responding to a concern by carriers about following the old fashioned "build it and they will come" approach to network deployment.
The Linux Foundation gains a mapping platform; Intel plans a new chip factory in Oregon; and Google Cloud adds a serverless document database.
The platform divides the two flows – the control layer and the data layer – and handles them in a way that makes sense for each.

