You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Log severity levels are based on numerical values defined by Otel/GCP, which are informally mapped to generic text values such as "ALERT", "DEBUG", etc.
387
+
// In some cases, a SeverityText value can be automatically mapped to a matching SeverityNumber.
388
+
// If not (for example, when directly setting the SeverityText on a Log entry with the Transform processor), then the
389
+
// SeverityText might be something like "ALERT" while the SeverityNumber is still "0".
390
+
// In this case, we will attempt to map the text ourselves to one of the defined Otel SeverityNumbers.
391
+
// We do this by checking that the SeverityText is NOT "default" (ie, it exists in our map) and that the SeverityNumber IS "0".
392
+
// (This also excludes other unknown/custom severity text values, which may have user-defined mappings in the collector)
0 commit comments