Skip to content

Commit

Permalink
remove debug line -_-
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Labarussias <[email protected]>
  • Loading branch information
Issif authored and poiana committed Jan 7, 2025
1 parent d49dfc7 commit 7e4eca8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions outputs/talon.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
package outputs

import (
"fmt"
"go.opentelemetry.io/otel/attribute"
"log"

"go.opentelemetry.io/otel/attribute"

"github.com/falcosecurity/falcosidekick/types"
)

Expand All @@ -28,7 +28,6 @@ func (c *Client) TalonPost(falcopayload types.FalcoPayload) {
// Setting the success status
go c.CountMetric(Outputs, 1, []string{"output:talon", "status:ok"})
c.Stats.Talon.Add(OK, 1)
fmt.Println("aaaaa")
c.PromStats.Outputs.With(map[string]string{"destination": "talon", "status": OK}).Inc()
c.OTLPMetrics.Outputs.With(attribute.String("destination", "talon"), attribute.String("status", OK)).Inc()
}

0 comments on commit 7e4eca8

Please sign in to comment.