-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(outputs): add hostname, tags, custom, and templated fields to TimescaleDB #438
feat(outputs): add hostname, tags, custom, and templated fields to TimescaleDB #438
Conversation
045b6ca
to
ec4241e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see the output fields are not added, because of the the schema. Do you think it worth to add k8s.pod.name
and k8s.ns.name
at least? IN prometheus for example, to avoid huge cardinality, we add these fields as labels and the custom fields.
Sure, sounds reasonable. I'll add support for output fields. |
All output fields it will be hard, because they are dynamic, but at least the custom fields added statically by Falcosidekick BUT it means you need to deal with the addition of new fields after the creation of the index, ie, a schema update. Tell me when it's ready, I'll review this PR at this moment. Thanks. |
After I looked at how |
…plated fields to TimesacleDB output Signed-off-by: alika <alika.larsen@gmail.com>
ec4241e
to
3d3e644
Compare
@Issif ready for review now. I had to touch config because I was getting a panic on templated fields:
|
Sorry for the delay, I was successively sick, off and at kubecon in last weeks. Have you fixed the issue with the nil map? Can I review the whole PR now? Thanks |
No worries. Hope kubecon was fun. I did fix this issue w/the nil map and I'm ready for a review. |
LGTM label has been added. Git tree hash: a3aac9de46e6817dc30db3c9e2b7d2150577bb20
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alika, Issif The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area outputs
What this PR does / why we need it:
This PR adds support for hostname, tags, custom fields, and templated fields for the TimescaleDB output.
Which issue(s) this PR fixes:
Fixes #