cognative

by mjpitz

Helm chartv0.2403.3MITVerified publisher

cognative is an opinionated, minimalistic approach to business intelligence 🧠 and operations 🚨. We strongly believe companies should be able to own their own data, and many solutions out there leave organizations to the whims of third-party providers. Our goal is to reduce the complexity of traditional business intelligence and operations stacks, while seeking to maximize the efforts of everyday operations staff. This not only simplifies the process for operators, but also enhances the experience for less infrastructure-aware developers. (BETA) This chart provides an early access preview to the cogantive stack. It currently not suitable for production. I'm hoping to iterate on this stack in the public, and am actively looking for help from others to push it forward.

About this chart

cognative

cognative is an opinionated, minimalistic approach to business intelligence 🧠 and operations 🚨. We strongly believe companies should be able to own their own data, and many solutions out there leave organizations to the whims of third-party providers. Our goal is to reduce the complexity of traditional business intelligence and operations stacks, while seeking to maximize the efforts of everyday operations staff. This not only simplifies the process for operators, but also enhances the experience for less infrastructure-aware developers.

(BETA) This chart provides an early access preview to the cogantive stack. It currently not suitable for production. I'm hoping to iterate on this stack in the public, and am actively looking for help from others to push it forward.

Homepage: https://mjpitz.github.io/cognative/

Maintainers

NameEmailUrl
Mya Pitzerusehttps://mya.sh
The cognative authorshttps://github.com/mjpitz/cognative

Source Code

Requirements

RepositoryNameVersion
https://grafana.github.io/helm-chartsgrafana7.3.7
https://mya.shclickhouse0.2403.1
https://open-telemetry.github.io/opentelemetry-helm-chartscollector(opentelemetry-collector)0.84.0
https://open-telemetry.github.io/opentelemetry-helm-chartscluster(opentelemetry-collector)0.84.0
https://open-telemetry.github.io/opentelemetry-helm-chartsnode(opentelemetry-collector)0.84.0

Values

KeyTypeDefaultDescription
clickhouse.auth.passwordstring"clickhouse"Specify the password used to authenticate with the clickhouse cluster.
clickhouse.auth.usernamestring"clickhouse"Specify the username used to authenticate with the clickhouse cluster.
clickhouse.enabledbooltrueEnable a single instance, clickhouse deployment.
cluster.config.exporters.otlp/2.endpointstring"{{ .Release.Name }}-collector:4317"Specify the location of the collector deployment.
cluster.enabledbooltrueEnable the cluster-agent process that monitors and collects metrics for the control plane of your cluster.
cluster.replicaCountint1The number of cluster-agent instances to run.
collector.config.exporters.clickhouse.endpointstring"tcp://{{ .Release.Name }}-clickhouse:9000?dial_timeout=10s&compress=lz4"Specify the location of the clickhouse deployment.
collector.config.exporters.clickhouse.passwordstring"clickhouse"Specify the password used to authenticate with the clickhouse cluster.
collector.config.exporters.clickhouse.ttlstring"72h"Configure how long logs, metrics, and traces are preserved for.
collector.config.exporters.clickhouse.usernamestring"clickhouse"Specify the username used to authenticate with the clickhouse cluster.
collector.enabledbooltrueEnable the collector process which is responsible for interfacing with the underlying Clickhouse deployment.
collector.replicaCountint1The number of collector instances to run.
grafana.adminPasswordstring"admin"Specify the password used to authenticate the admin password.
grafana.adminUserstring"admin"Specify the username of the admin account.
grafana.datasources."clickhouse.yaml".datasources[0].jsonData.defaultDatabasestring"default"Specify the default database to connect to when communicating with the clickhouse cluster.
grafana.datasources."clickhouse.yaml".datasources[0].jsonData.hoststring"{{ .Release.Name }}-clickhouse"Specify the location of the clickhouse deployment.
grafana.datasources."clickhouse.yaml".datasources[0].jsonData.portint9000Specify the port of the clickhouse deployment.
grafana.datasources."clickhouse.yaml".datasources[0].jsonData.protocolstring"native"Specify the protocol used to communicate with the clickhouse.
grafana.datasources."clickhouse.yaml".datasources[0].jsonData.usernamestring"clickhouse"Specify the username used to authenticate with the clickhouse cluster.
grafana.datasources."clickhouse.yaml".datasources[0].secureJsonData.passwordstring"clickhouse"Specify the password used to authenticate with the clickhouse cluster.
grafana.enabledbooltrueEnable the grafana deployment.
grafana.pluginslist["grafana-clickhouse-datasource"]Add additional plugins to install in your grafana deployment, but be sure to include the grafana-clickhouse-datasource
node.config.exporters.otlp/2.endpointstring"{{ .Release.Name }}-collector:4317"Specify the location of the collector deployment.
node.enabledbooltrueEnable the node-agent process that monitors and collects metrics for each host in your cluster.

Deploy cognative with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cognative on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcognative is pinned at v0.2403.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply