Integrations
Overview
Connect your tools to Stalar
Stalar connects to your existing infrastructure to query data and troubleshoot issues.
Available Integrations
| Integration | What Stalar can do |
|---|---|
| Prometheus | Query metrics, check alerts, list targets |
| Loki | Search logs, filter by labels, query ranges |
| Kubernetes | Get pods, logs, deployments, events, services |
| GitHub | Search code, view commits, check deployments |
| Sentry | List projects, get issues, view error details |
| Vercel | List projects, get deployments, view logs |
| Docker | List containers, get logs, inspect stats |
| AWS S3 | Browse buckets, list objects, read files |
| NeonDB | Run SQL queries, list tables, explore schemas |
Adding Integrations
You can add integrations via the UI or through a config file.
Via UI
- Open Stalar in your browser
- Go to the integrations page
- Click "Add Integration"
- Select the type and enter credentials
Via Config File
Create a stalar.yaml file to pre-configure integrations:
integrations:
- name: "prometheus-prod"
type: "prometheus"
environment: "production"
config:
url: "http://prometheus:9090"
- name: "loki-prod"
type: "loki"
environment: "production"
config:
url: "http://loki:3100"
- name: "k8s-prod"
type: "kubernetes"
environment: "production"
config:
apiServerUrl: "https://kubernetes.default.svc"
token: "${K8S_TOKEN}"
namespaces: ["default"]Note: Integrations defined in
stalar.yamlare owned by the default admin user ([email protected]). Log in as admin to use pre-configured integrations, or create your own integrations via the UI. Each user's integrations are private.
Secrets
Secrets can be specified in three ways:
config:
# Direct value
apiKey: "sk-abc123"
# Environment variable
apiKey: "${MY_API_KEY}"
# File reference
apiKey: "$file:/run/secrets/api-key"See individual integration pages for specific configuration options.