Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/operator
Joao Marcal 89cb731f93
fix(operator): use description annotation for Prometheus alerts instead of message (#16574)
9 months ago
..
.bingo chore(operator): Update build and runtime deps (#16605) 10 months ago
api feat(operator)!: Add configuration option for dropping OTLP attributes (#15857) 11 months ago
bundle chore(operator): prepare community release v0.8.0 (#16780) 10 months ago
cmd chore(operator): Update build and runtime deps (#16605) 10 months ago
config chore(operator): prepare community release v0.8.0 (#16780) 10 months ago
docs feat(operator): Update Loki operand to v3.4.2 (#16360) 10 months ago
hack feat(operator): Update Loki operand to v3.4.2 (#16360) 10 months ago
internal fix(operator): use description annotation for Prometheus alerts instead of message (#16574) 9 months ago
jsonnet feat(operator): Update Loki operand to v3.4.2 (#16360) 10 months ago
tools
website
.dockerignore
.gitignore operator: Add support for reconciling loki-mixin dashboards on OpenShift Console (#9468) 2 years ago
.golangci.yaml chore(operator): fix .golangci.yaml config file (#16368) 10 months ago
ADOPTERS.md chore: Fix wording in Loki Operator ADOPTERS.md files (#15406) 1 year ago
CHANGELOG.md chore( operator): community release 0.8.0 (#14859) 10 months ago
CONTRIBUTING.md
Dockerfile chore(operator): Update build and runtime deps (#16605) 10 months ago
Dockerfile.cross chore(operator): Update build and runtime deps (#16605) 10 months ago
Makefile chore(operator): prepare community release v0.8.0 (#16780) 10 months ago
PROJECT refactor(operator)!: Migrate project layout to kubebuilder go/v4 (#14447) 1 year ago
README.md
_config.yml
calculator.Dockerfile chore(operator): Update build and runtime deps (#16605) 10 months ago
go.mod chore(operator): Update build and runtime deps (#16605) 10 months ago
go.sum chore(operator): Update build and runtime deps (#16605) 10 months ago
netlify.toml chore(operator): Update build and runtime deps (#16605) 10 months ago
quickstart.sh
release-please-config.json chore(operator): removed bootstrap directive from release-please-config (#14761) 1 year ago

README.md

Loki Logo

Loki Operator

This is the Kubernetes Operator for Loki provided by the Grafana Loki SIG operator.

Hacking on Loki Operator on kind or OpenShift

  • If you want to contribute to this repository, you might need a step-by-step guide on how to start hacking on Loki-operator with kind.
  • Also, there is a step-by-step guide on how to test Loki-operator on OpenShift.
  • There is also a basic troubleshooting guide if you run into some common problems.
  • There is also a document which demonstrates how to use Loki Operator for development and testing locally without deploying the operator each time on Kind and OpenShift using the make run command.

Sending Logs to Loki

Sending Logs Through the Gateway Component

Sending Logs Directly to the Distributor Component

  • The forwarding logs to LokiStack without LokiStack Gateway is used to send application, infrastructure, audit and network logs to the Loki Distributor as different tenants using Fluentd or Vector.
  • The guide has a step-by-step guide to connect with OpenShift Logging or OpenShift Network for forwarding logs to LokiStack.

Installation of Storage Size Calculator on OpenShift

  • Storage size calculator works out of the box on OpenShift. For non-openshift distributions you will need to create services like prometheus, serviceMonitor, scrape configuration for log-file-metric exporter, promsecret to access the custom prometheus URL, token.
  • The step-by-step guide on how to install storage size calculator on OpenShift is available.
  • Also, there is a step-by-step guide on how to contribute to this along with local development and testing procedure.
  • There is also a basic troubleshooting guide if you run into some common problems.