Instrumentation: Add status_source label to request metrics/logs (#74114)

Ref #68480

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
This commit is contained in:
Marcus Efraimsson
2023-09-11 12:13:13 +02:00
committed by GitHub
co-authored by Giuseppe Guerra
parent 97d568e60a
commit 8ee43f3705
27 changed files with 487 additions and 67 deletions
+3 -2
View File
@@ -11,7 +11,8 @@ var (
ErrPluginUnavailable = errutil.Internal("plugin.unavailable")
// ErrMethodNotImplemented error returned when a plugin method is not implemented.
ErrMethodNotImplemented = errutil.NotImplemented("plugin.notImplemented")
// ErrPluginDownstreamError error returned when a plugin method is not implemented.
// ErrPluginDownstreamError error returned when a plugin request fails.
ErrPluginDownstreamError = errutil.Internal("plugin.downstreamError",
errutil.WithPublicMessage("An error occurred within the plugin"))
errutil.WithPublicMessage("An error occurred within the plugin"),
errutil.WithDownstream())
)