From ae49bbfd1146dfd98861d3417ad88cf8fe4cd94c Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Thu, 4 Oct 2018 10:09:11 -0700 Subject: [PATCH] Fix filename typo s/cencus/census/ --- DEBUGGING.md | 6 +++--- cmd/{cencus_jaeger.go => census_jaeger.go} | 0 cmd/{cencus_test.go => census_test.go} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename cmd/{cencus_jaeger.go => census_jaeger.go} (100%) rename cmd/{cencus_test.go => census_test.go} (100%) diff --git a/DEBUGGING.md b/DEBUGGING.md index 25c8f349d..457ed39bd 100644 --- a/DEBUGGING.md +++ b/DEBUGGING.md @@ -9,11 +9,11 @@ Not implemented. virtual-kubelet uses [OpenCensus](https://www.opencensus.io) to record traces. These traces include requests on the HTTP API as well as the reconciliation loop which reconciles virtual-kubelet pods with what's in the Kubernetes API server. -The granularity of traces may depend on the provider being used. +The granularity of traces may depend on the service provider (e.g. `azure`, `aws`, etc) being used. ### Tracing Exporters -Traces are collected and then exportered to any configured exporter. Built-in exporters currently include: +Traces are collected and then exported to any configured exporter. Built-in exporters currently include: - `jaeger` - [Jaeger Tracing](https://www.jaegertracing.io), supports configuration through environment variables. - `JAEGER_ENDPOINT` - Jaeger HTTP Thrift endpoint, e.g. `http://localhost:14268` @@ -30,6 +30,6 @@ Traces propagated from other services must be propagated using Zipkin's B3 forma ### Tracing Configuration - `--trace-exporter` - Sets the exporter to use. Multiple exporters can be specified. If this is unset, traces are not exported. -- `--trace-service-name` - Sets the name of the service, defaults to `virtual-kubelet` but can be anything. This value is passee to the exporter purely for display purposes. +- `--trace-service-name` - Sets the name of the service, defaults to `virtual-kubelet` but can be anything. This value is passed to the exporter purely for display purposes. - `--trace-tag` - Adds tags in a `=` form which is included with collected traces. Think of this like log tags but for traces. - `--trace-sample-rate` - Sets the probability for traces to be recorded. Traces are considered an expensive operation so you may want to set this to a lower value. Range is a value of 0 to 100 where 0 is never trace and 100 is always trace. \ No newline at end of file diff --git a/cmd/cencus_jaeger.go b/cmd/census_jaeger.go similarity index 100% rename from cmd/cencus_jaeger.go rename to cmd/census_jaeger.go diff --git a/cmd/cencus_test.go b/cmd/census_test.go similarity index 100% rename from cmd/cencus_test.go rename to cmd/census_test.go