-
Notifications
You must be signed in to change notification settings - Fork 295
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: added dahsboard and template #795
feat: added dahsboard and template #795
Conversation
ab8a88e
to
1451af1
Compare
@cobcan Thank you 🙏 I just noticed this, may you fix it please? |
Hey @cobcan To fix the DCO sign-off, just run the following:
Then It's the last thing to fix. Then we can merge the PR. Thanks! |
Hey @cobcan I noticed the rebase did not work. I will fix it for you, please hold on. |
okay thank you |
34326d7
to
f42fb0a
Compare
46cf273
to
141277a
Compare
Co-authored-by: Alfonso Cobo <[email protected]> Signed-off-by: Alfonso Cobo <[email protected]>
Co-authored-by: Alfonso Cobo <[email protected]> Signed-off-by: Alfonso Cobo <[email protected]>
Co-authored-by: Alfonso Cobo <[email protected]> Signed-off-by: Alfonso Cobo <[email protected]>
141277a
to
932e38d
Compare
thanks for doing your git-magic 😄 |
charts/falcosidekick/values.yaml
Outdated
dashboards: | ||
falcosidekickLoki: | ||
# -- enabled specifies whether this dashboard should be deployed. | ||
enabled: false | ||
# --configmaps to be deployed that contain a grafana dashboard. | ||
configMap: | ||
# -- name specifies the name for the configmap. | ||
name: falcosidekick-loki-dashboard-grafana | ||
# -- namespace specifies the namespace for the configmap. | ||
namespace: "" | ||
# -- folder where the dashboard is stored by grafana. | ||
folder: "" |
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.
there's a mismatch here, this output grafana
creates annotations, this block should in the Loki
section.
something like:
loki:
# -- Loki <http://host:port>, if not `empty`, Loki is *enabled*
hostport: ""
# -- user for Grafana Logs
user: ""
# -- API Key for Grafana Logs
apikey: ""
# -- Loki endpoint URL path, more info: <https://grafana.com/docs/loki/latest/api/#post-apiprompush>
endpoint: "/loki/api/v1/push"
# -- Loki tenant, if not `empty`, Loki tenant is *enabled*
tenant: ""
# -- comma separated list of fields to use as labels additionally to rule, source, priority, tags and custom_fields
extralabels: ""
# -- a list of comma separated custom headers to add, syntax is "key:value,key:value"
customheaders: ""
# -- minimum priority of event to use this output, order is `emergency\|alert\|critical\|error\|warning\|notice\|informational\|debug or ""`
minimumpriority: ""
# -- if true, checkcert flag will be ignored (server cert will always be checked)
mutualtls: false
# -- check if ssl certificate of the output is valid
checkcert: true
# -- dashboard for Grafana
grafanaDashboard:
# -- enabled specifies whether this dashboard should be deployed.
enabled: false
# --configmaps to be deployed that contain a grafana dashboard.
configMap:
# -- name specifies the name for the configmap.
name: falcosidekick-loki-dashboard-grafana
# -- namespace specifies the namespace for the configmap.
namespace: ""
# -- folder where the dashboard is stored by grafana.
folder: ""
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.
the change suggested is done, but one question. What do you mean that "grafana create annotations"??
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.
the section grafana
is to configure the output of falcosidekick which creates annotations for the graphs with the falco events: https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/
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 some points to improve:
- this dashboard is for Loki but also relies on Prometheus to fill the variables for templating, can you have just Loki as dependency?
- the dashboard is named
Falco Pods
,Falco logs
should be more relevant - you use the label
cluster
for the template, are you sure it's always available, it's not preset either by Falco either by Falcosidekick - some panels don't have any name, 1 is called
Panel Title
- your count by for the table should also count by namespace to be exhaustive
np! If you plan to add more commits, I recommend you remove your local repo, and git clone it again (so you will be sure to be aligned with your fork) |
Signed-off-by: Alfonso Cobo Canela <[email protected]>
|
/lgtm |
LGTM label has been added. Git tree hash: 297cb24ab3d5012275eac50e4e0fb55eb4754132
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cobcan, Issif, leogr 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
/kind chart-release
Any specific area of the project related to this PR?
/area falcosidekick-chart
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Checklist