Skip to content

Commit

Permalink
Update goldens.
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscovalentecastro committed Apr 16, 2024
1 parent 6a556e1 commit 8ffda40
Show file tree
Hide file tree
Showing 2,043 changed files with 21,111 additions and 27,921 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

function process(tag, timestamp, record)
local v = "ops-agent";
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["agent.googleapis.com/health/agentKind"] = value
end)(v)
local v = "latest";
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["agent.googleapis.com/health/agentVersion"] = value
end)(v)
local v = "v1";
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["agent.googleapis.com/health/schemaVersion"] = value
end)(v)
return 2, timestamp, record
end

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
Name modify
Match ops-agent-health
Condition Key_value_matches message \[error\]\s\[lib\]\sbackend\sfailed
Set message LogPipelineErr
Set code LogPipelineErr
Set message "[Runtime Check] Result: FAIL, Error code: LogPipelineErr, Failure: Ops Agent logging pipeline failed, Solution: Refer to provided documentation link., Resource: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/troubleshoot-find-info"

[FILTER]
Match ops-agent-fluent-bit
Expand All @@ -140,14 +140,14 @@
Name modify
Match ops-agent-health
Condition Key_value_matches message \[error\]\s\[parser\]\scannot\sparse
Set message LogParseErr
Set code LogParseErr
Set message "[Runtime Check] Result: FAIL, Error code: LogParseErr, Failure: Ops Agent failed to parse logs, Solution: Refer to provided documentation link., Resource: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/troubleshoot-find-info"

[FILTER]
Match ops-agent-health
Name lua
call process
script 68d6a3a0e8edf37868e1bf94adc737f4.lua
script 0f15dbe303dc7122d43443c9a4c31632.lua

[FILTER]
Match ops-agent-*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

function process(tag, timestamp, record)
local v = "ops-agent";
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["agent.googleapis.com/health/agentKind"] = value
end)(v)
local v = "latest";
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["agent.googleapis.com/health/agentVersion"] = value
end)(v)
local v = "v1";
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["agent.googleapis.com/health/schemaVersion"] = value
end)(v)
return 2, timestamp, record
end

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
Name modify
Match ops-agent-health
Condition Key_value_matches message \[error\]\s\[lib\]\sbackend\sfailed
Set message LogPipelineErr
Set code LogPipelineErr
Set message "[Runtime Check] Result: FAIL, Error code: LogPipelineErr, Failure: Ops Agent logging pipeline failed, Solution: Refer to provided documentation link., Resource: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/troubleshoot-find-info"

[FILTER]
Match ops-agent-fluent-bit
Expand All @@ -140,14 +140,14 @@
Name modify
Match ops-agent-health
Condition Key_value_matches message \[error\]\s\[parser\]\scannot\sparse
Set message LogParseErr
Set code LogParseErr
Set message "[Runtime Check] Result: FAIL, Error code: LogParseErr, Failure: Ops Agent failed to parse logs, Solution: Refer to provided documentation link., Resource: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/troubleshoot-find-info"

[FILTER]
Match ops-agent-health
Name lua
call process
script 68d6a3a0e8edf37868e1bf94adc737f4.lua
script 0f15dbe303dc7122d43443c9a4c31632.lua

[FILTER]
Match ops-agent-*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

function process(tag, timestamp, record)
local v = "ops-agent";
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["agent.googleapis.com/health/agentKind"] = value
end)(v)
local v = "latest";
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["agent.googleapis.com/health/agentVersion"] = value
end)(v)
local v = "v1";
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["agent.googleapis.com/health/schemaVersion"] = value
end)(v)
return 2, timestamp, record
end

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
Name modify
Match ops-agent-health
Condition Key_value_matches message \[error\]\s\[lib\]\sbackend\sfailed
Set message LogPipelineErr
Set code LogPipelineErr
Set message "[Runtime Check] Result: FAIL, Error code: LogPipelineErr, Failure: Ops Agent logging pipeline failed, Solution: Refer to provided documentation link., Resource: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/troubleshoot-find-info"

[FILTER]
Match ops-agent-fluent-bit
Expand All @@ -140,14 +140,14 @@
Name modify
Match ops-agent-health
Condition Key_value_matches message \[error\]\s\[parser\]\scannot\sparse
Set message LogParseErr
Set code LogParseErr
Set message "[Runtime Check] Result: FAIL, Error code: LogParseErr, Failure: Ops Agent failed to parse logs, Solution: Refer to provided documentation link., Resource: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/troubleshoot-find-info"

[FILTER]
Match ops-agent-health
Name lua
call process
script 68d6a3a0e8edf37868e1bf94adc737f4.lua
script 0f15dbe303dc7122d43443c9a4c31632.lua

[FILTER]
Match ops-agent-*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

function process(tag, timestamp, record)
local v = "ops-agent";
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["agent.googleapis.com/health/agentKind"] = value
end)(v)
local v = "latest";
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["agent.googleapis.com/health/agentVersion"] = value
end)(v)
local v = "v1";
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["agent.googleapis.com/health/schemaVersion"] = value
end)(v)
return 2, timestamp, record
end

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
Name modify
Match ops-agent-health
Condition Key_value_matches message \[error\]\s\[lib\]\sbackend\sfailed
Set message LogPipelineErr
Set code LogPipelineErr
Set message "[Runtime Check] Result: FAIL, Error code: LogPipelineErr, Failure: Ops Agent logging pipeline failed, Solution: Refer to provided documentation link., Resource: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/troubleshoot-find-info"

[FILTER]
Match ops-agent-fluent-bit
Expand All @@ -140,14 +140,14 @@
Name modify
Match ops-agent-health
Condition Key_value_matches message \[error\]\s\[parser\]\scannot\sparse
Set message LogParseErr
Set code LogParseErr
Set message "[Runtime Check] Result: FAIL, Error code: LogParseErr, Failure: Ops Agent failed to parse logs, Solution: Refer to provided documentation link., Resource: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/troubleshoot-find-info"

[FILTER]
Match ops-agent-health
Name lua
call process
script 68d6a3a0e8edf37868e1bf94adc737f4.lua
script 0f15dbe303dc7122d43443c9a4c31632.lua

[FILTER]
Match ops-agent-*
Expand Down
Loading

0 comments on commit 8ffda40

Please sign in to comment.