Skip to content

Commit

Permalink
First linting pass through some loki components
Browse files Browse the repository at this point in the history
  • Loading branch information
clayton-cornell committed Jan 31, 2025
1 parent d0b4081 commit 59f0dfe
Show file tree
Hide file tree
Showing 5 changed files with 708 additions and 728 deletions.
2 changes: 1 addition & 1 deletion docs/sources/reference/components/local/local.file.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ local.file "<LABEL>" {

## Arguments

The following arguments are supported:
You can use the following arguments with `local.file`:

Name | Type | Description | Default | Required
-----------------|------------|-----------------------------------------------------|--------------|---------
Expand Down
14 changes: 9 additions & 5 deletions docs/sources/reference/components/loki/loki.echo.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,25 @@ description: Learn about loki.echo
title: loki.echo
---

# loki.echo
# `loki.echo`

`loki.echo` receives log entries from other `loki` components and prints them to the process' standard output (stdout).

Multiple `loki.echo` components can be specified by giving them different labels.
You can specify multiple `loki.echo` components by giving them different labels.

## Usage

```alloy
loki.echo "LABEL" {}
loki.echo "<LABEL>" {}
```

## Arguments

`loki.echo` accepts no arguments.
The `loki.echo` component doesn't support any arguments.

## Blocks

The `loki.echo` component doesn't support any blocks.

## Exported fields

Expand All @@ -36,7 +40,7 @@ Name | Type | Description

## Debug information

`loki.echo` does not expose any component-specific debug information.
`loki.echo` doesn't expose any component-specific debug information.

## Example

Expand Down
Loading

0 comments on commit 59f0dfe

Please sign in to comment.