MCPcopy
hub / github.com/grafana/tempo / printWarnings

Function printWarnings

cmd/tempo-cli/cmd-migrate-overrides-config.go:149–159  ·  view source on GitHub ↗
(w io.Writer)

Source from the content-addressed store, hash-verified

147}
148
149func printWarnings(w io.Writer) {
150 fmt.Fprintln(w, "WARNING: Please verify the migrated output carefully before using it.")
151 fmt.Fprintln(w, "- Fields set to Go zero values (false, 0, \"\") may be silently dropped")
152 fmt.Fprintln(w, " due to omitempty tags. Compare against your original config to ensure nothing is lost.")
153 fmt.Fprintln(w, "- Secret values (e.g. remote_write_headers) are masked as '<secret>' in the output.")
154 fmt.Fprintln(w, " You must manually restore the original values.")
155 fmt.Fprintln(w, "- Some struct fields without omitempty may appear with zero values (e.g. 'exclude: null')")
156 fmt.Fprintln(w, " that were not in your original config. These can be removed.")
157 fmt.Fprintln(w, "NOTE: This tool is provided for convenience only. Always double check the output against your original config.")
158 fmt.Fprintln(w, "For full details on overrides configuration, see: https://grafana.com/docs/tempo/latest/configuration/#overrides")
159}

Callers 2

RunMethod · 0.85
RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected