Skip to content

Commit

Permalink
Commit the temporary test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorhuertas committed Dec 16, 2024
1 parent 6e15afb commit 416e575
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vector/node/namespaced/resources/metrics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ function init()
end

function on_event(event, emit)
--TODO: remove
emit(event)
if not pcall(process_event, event, emit) then
emit(generate_log("ERROR on process_event", event))
error() -- delegates on vector generating and increasing the error metric
Expand Down Expand Up @@ -90,7 +92,8 @@ function generate_metric(name, namespace, value)
return {
metric = {
name = name,
namespace = "vector",
--TODO: change to vector
namespace = "hh",
tags = {
component_id = "kubernetes_logs",
component_kind = "source",
Expand Down

0 comments on commit 416e575

Please sign in to comment.