SchemaStore / SchemaStore/schemastore

Schema for Grafana Promtail configuration

Closed
#4,236 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

New Schema Request
Dominant language
JavaScript
Stars
3.8k
Forks
2.3k
Avg merge
20h 23m
Merged PRs (30d)
124

Description

Description of the JSON schema.

The configuration for Grafana Promtail is a standard yaml file.

Configuration for Loki already exists (https://json.schemastore.org/loki.json) so adding Promtail would complete the set.

Supporting information.

Documentation: https://grafana.com/docs/loki/latest/send-data/promtail/configuration/

Source code for Promtail: https://github.com/grafana/loki/tree/main/clients/pkg/promtail

Are you making a PR for this?

No, someone else must create the PR.

edit: I did started building the schema on the side (fork)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing Loki schema at json.schemastore.org/loki.json, then compare Promtail's configuration documentation with the clients/pkg/promtail source. Use the linked fork as a reference for the in-progress schema. Done means a Promtail JSON schema is added to SchemaStore for its standard YAML configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
grafana
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.