Istio in Action by Rinor Maloku & Christian E. Posta
Author:Rinor Maloku & Christian E. Posta [Rinor Maloku]
Language: eng
Format: epub
Publisher: Manning Publications
Published: 2022-04-07T00:00:00+00:00
Pulling a value from environment variables
Pulling a value from request headers
For example, to add a custom tag to our spans in the webapp service, we can annotate the Deployment resource of that workload with the following:
apiVersion: apps/v1 kind: Deployment ... spec: template: metadata: annotations: proxy.istio.io/config: | tracing: sampling: 100 customTags: custom_tag: literal: value: "Test Tag" zipkin: address: zipkin.istio-system:9411
We can apply this deployment of the webapp service like this:
$ kubectl apply \ -f ch8/webapp-deployment-zipkin-tag.yaml \ -n istioinaction
Sending traffic through the ingress gateway generates some of the traces we expect in the Jaeger UI:
$ curl -H "Host: webapp.istioinaction.io" \ http://localhost/api/catalog
Go to the Jaeger UI, find a recent trace, and click it. Then, click the span representing the webapp service, as shown in figure 8.11.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7792)
Grails in Action by Glen Smith Peter Ledbrook(7705)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(6658)
Azure Containers Explained by Wesley Haakman & Richard Hooper(6651)
Running Windows Containers on AWS by Marcio Morales(6172)
Kotlin in Action by Dmitry Jemerov(5074)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(4964)
Combating Crime on the Dark Web by Nearchos Nearchou(4554)
Microsoft Cybersecurity Architect Exam Ref SC-100 by Dwayne Natwick(4432)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4425)
The Ruby Workshop by Akshat Paul Peter Philips Dániel Szabó and Cheyne Wallace(4217)
The Age of Surveillance Capitalism by Shoshana Zuboff(3964)
Python for Security and Networking - Third Edition by José Manuel Ortega(3789)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3515)
The Ultimate Docker Container Book by Schenker Gabriel N.;(3457)
Mastering Python for Networking and Security by José Manuel Ortega(3359)
Learn Wireshark by Lisa Bock(3354)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3337)
Blockchain Basics by Daniel Drescher(3308)
