Skip to content
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

Consistent information model #3395

Open
marians opened this issue Apr 15, 2024 · 4 comments
Open

Consistent information model #3395

marians opened this issue Apr 15, 2024 · 4 comments
Assignees
Labels
honeybadger/ui In Team Honeybadger and dealing with user interfaces team/honeybadger Team Honey Badger

Comments

@marians
Copy link
Member

marians commented Apr 15, 2024

This issue is an early attempt to explain a challenge we have. It yet has to become more defined to make it a meaningful task description / roadmap item.

Summary

How can we enable customers to find information throughout our platform, filtered down to exactly the depth and detail level they need?

"Information" can mean a lot of things. Examples: metrics and dashboards, log entries, events, Kyverno policy reports, Falco reports, incidents, ...

For example, if a customer wants log entries and metrics about a certain application, how do they select for exactly this application in Grafana? What if they want Kyverno policy reports only for that application? What if they want to look at only one application in the Hubble UI (cilium)

Or, imagine a team on the customer side wants to find all policy reports generated for its workloads. How can they drill down to policy reports only for their team?

@github-project-automation github-project-automation bot moved this to Inbox 📥 in Roadmap Apr 15, 2024
@marians marians added team/honeybadger Team Honey Badger honeybadger/ui In Team Honeybadger and dealing with user interfaces labels Apr 15, 2024
@marians marians self-assigned this Apr 15, 2024
@marians
Copy link
Member Author

marians commented Apr 15, 2024

I have talked about this problem with @teemow on Friday. He suggested to discuss it with team Atlas.

I am also working on slides to explain the problem more easily.

@marians marians changed the title Constistent information model Consistent information model Apr 15, 2024
@teemow
Copy link
Member

teemow commented Apr 15, 2024

Btw I've looked into the grafana cloud metrics* and what I found is:

  • Pod resource requests/limits (aggregation:kubernetes:pod_resource_*)
  • Container cpu/memory (aggregation:container:cpu_usage_cores, aggregation:container:memory_usage_bytes)

There are customer/installation labels but not for apps/teams. It's also not easy to add the labels to the prometheus_rules aggregation[1] as there are no such labels in the raw metrics as well. There is an app label but it only contains cadvisor . I don't know how we can make sure to add the right meta data. Would be good if Honey badger and Atlas could figure out.

/cc @piontec @weatherhog @Rotfuks

*The reason why I checked grafana cloud was to build a dashboard that shows the CPU/Memory footprint of apps per team across all installations.

[1] https://github.com/giantswarm/prometheus-rules/blob/f7c2bf17119715afea7e5427970e3a484cd0266a/helm/prometheus-rules/templates/recording-rules/grafana-cloud.rules.yml

@teemow
Copy link
Member

teemow commented Apr 15, 2024

We have team labels in charts afaik. The question is how we can propagate this data to the metrics in prometheus.

https://github.com/giantswarm/giantswarm/issues/20958

@Rotfuks
Copy link
Contributor

Rotfuks commented Apr 15, 2024

I'm happy to talk with you about how this can fit in our observability platform strategy and what's the idea on our side to address this @marians

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
honeybadger/ui In Team Honeybadger and dealing with user interfaces team/honeybadger Team Honey Badger
Projects
Status: Inbox 📥
Development

No branches or pull requests

3 participants