Skip to content

Instantly share code, notes, and snippets.

View rushi47's full-sized avatar
✌️
Peace (:

Rushikesh Butley rushi47

✌️
Peace (:
View GitHub Profile
@rushi47
rushi47 / fluentbit.conf
Last active March 6, 2024 21:58
Dynamic topic for output kafka in fluentbit
Place below config in fluent bit.config. And annotate your pods with `k8s_annotations_fluentbit.topic : <destination-topic>`.
For the pods which have this annotation defined, kafka will output : respective `<destination-topic>`
[FILTER]
Name kubernetes
Match kube.*
Merge_Log On
Keep_Log Off
K8S-Logging.Parser On
@rushi47
rushi47 / opentelem.md
Last active August 8, 2023 20:39
Running open-telemetry collector in 2 mins

In opentelemetry, there is something called as span and trace.

  • Basically think of one http request. The whole lifetime of request and response can be called trace. And things done along the way is called span. Lets say when request comes, and we want to create some file or read something for that request that will be one span. And so on. That is how we know the whole lifetime of request.

  • Now when we collect the data we might want to send it to external system to display for that we want what we call as exporters.