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

k8s-stack: added alertmanager datasource, vlogs resource and vlogs datasource; vlogs: added dashboard #1593

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

AndrewChubatiuk
Copy link
Contributor

fixes #1592
partially resolves #1590

@github-actions github-actions bot added k8s-stack k8s-stack helm chart related issue logs-single labels Oct 13, 2024
@@ -57,6 +57,8 @@ defaultDashboards:
allowCrossNamespaceImport: false
# -- Create dashboards as ConfigMap despite dependency it requires is not installed
dashboards:
victorialogs:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since VM k8s-stack chart doesn't install victorialogs, I don't think we should include victorialogs dashboard here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added vlogs to k8s-stack chart

Copy link
Contributor

@Haleygo Haleygo Oct 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe we should include victorialogs resources(workload, dashboard or rules) in victoria-metrics-k8s-stack chart:

  1. it doesn't integrate with other components, like collecting their logs without other configuration.
  2. I think user would prefer to install log and metrics management components separately, since they're not bundled or related. (Some resources, such as grafana or vm-operator can be shared for sure, but this can be considered additionally, like installing them separately from both VM and VLogs releases.)

I think we could have another new chart for victoriaLogs in the furture, which contains vm-operator, single&cluster version of victoriaLogs, grafana, vmalert&alertmanager and possibly some common optional log collectors.

wdyt @AndrewChubatiuk @zekker6 @f41gh7

@@ -359,3 +359,12 @@ fluent-bit:

# -- Add extra specs dynamically to this chart
extraObjects: []

dashboards:
# -- Create VictoriaLogs dashboards
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should also support creating it as a GrafanaDashboard CR like k8s-stack does, wdyt?

And I think we should disable it by default now, currently it's not clear or convenient to tell users how to get access to dashboard or rule in vlogs chart, since the chart doesn't contain grafana or ruler components.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added this as well

@AndrewChubatiuk AndrewChubatiuk changed the title k8s-stack: added alertmanager datasource; vlogs: added dashboard k8s-stack: added alertmanager datasource, vlogs resource and vlogs datasource; vlogs: added dashboard Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
k8s-stack k8s-stack helm chart related issue logs-single
Projects
None yet
2 participants