@@ -40,7 +40,7 @@ faro.receiver "<LABEL>" {
4040You can use the following arguments with ` faro.receiver ` :
4141
4242| Name | Type | Description | Default | Required |
43- | ------------------ | ------------- | -------------------------------------------- | ---------- | -------- |
43+ | -------------------- | --------------- | ---------------------------------------------- | ------------ | ---------- |
4444| ` extra_log_labels ` | ` map(string) ` | Extra labels to attach to emitted log lines. | ` {} ` | no |
4545| ` log_format ` | ` string ` | Export format for the logs. | ` "logfmt" ` | no |
4646
@@ -56,7 +56,7 @@ The following strings are valid log line formats:
5656You can use the following blocks with ` faro.receiver ` :
5757
5858| Block | Description | Required |
59- | -------------------------------------------- | ---------------------------------------------------- | -------- |
59+ | ---------------------------------------------- | ------------------------------------------------------ | ---------- |
6060| [ ` output ` ] [ output ] | Configures where to send collected telemetry data. | yes |
6161| [ ` server ` ] [ server ] | Configures the HTTP server. | no |
6262| ` server ` > [ ` rate_limiting ` ] [ rate_limiting ] | Configures rate limiting for the HTTP server. | no |
@@ -74,10 +74,12 @@ For example, `sourcemaps` > `location` refers to a `location` block defined insi
7474
7575### ` output `
7676
77+ {{< badge text="Required" >}}
78+
7779The ` output ` block specifies where to forward collected logs and traces.
7880
7981| Name | Type | Description | Default | Required |
80- | -------- | ------------------------ | ---------------------------------------------------- | ------- | -------- |
82+ | ---------- | -------------------------- | ------------------------------------------------------ | --------- | ---------- |
8183| ` logs ` | ` list(LogsReceiver) ` | A list of ` loki ` components to forward logs to. | ` [] ` | no |
8284| ` traces ` | ` list(otelcol.Consumer) ` | A list of ` otelcol ` components to forward traces to. | ` [] ` | no |
8385
@@ -87,7 +89,7 @@ The `server` block configures the HTTP server managed by the `faro.receiver` com
8789Clients using the [ Grafana Faro Web SDK] [ faro-sdk ] forward telemetry data to this HTTP server for processing.
8890
8991| Name | Type | Description | Default | Required |
90- | -------------------------- | -------------- | --------------------------------------------------------------- | ------------- | -------- |
92+ | ---------------------------- | ---------------- | ----------------------------------------------------------------- | --------------- | ---------- |
9193| ` listen_address ` | ` string ` | Address to listen for HTTP traffic on. | ` "127.0.0.1" ` | no |
9294| ` listen_port ` | ` number ` | Port to listen for HTTP traffic on. | ` 12347 ` | no |
9395| ` cors_allowed_origins ` | ` list(string) ` | Origins for which cross-origin requests are permitted. | ` [] ` | no |
@@ -112,7 +114,7 @@ If the `api_key` argument is empty, no authentication checks are performed, and
112114The ` rate_limiting ` block configures rate limiting for client requests.
113115
114116| Name | Type | Description | Default | Required |
115- | ------------ | -------- | ------------------------------------ | ------- | -------- |
117+ | -------------- | ---------- | -------------------------------------- | --------- | ---------- |
116118| ` enabled ` | ` bool ` | Whether to enable rate limiting. | ` true ` | no |
117119| ` rate ` | ` number ` | Rate of allowed requests per second. | ` 50 ` | no |
118120| ` burst_size ` | ` number ` | Allowed burst size of requests. | ` 100 ` | no |
@@ -131,7 +133,7 @@ The `sourcemaps` block configures how to retrieve sourcemaps.
131133Sourcemaps are then used to transform file and line information from minified code into the file and line information from the original source code.
132134
133135| Name | Type | Description | Default | Required |
134- | ----------------------- | -------------- | ------------------------------------------ | ------- | -------- |
136+ | ------------------------- | ---------------- | -------------------------------------------- | --------- | ---------- |
135137| ` download ` | ` bool ` | Whether to download sourcemaps. | ` true ` | no |
136138| ` download_from_origins ` | ` list(string) ` | Which origins to download sourcemaps from. | ` ["*"] ` | no |
137139| ` download_timeout ` | ` duration ` | Timeout when downloading sourcemaps. | ` "1s" ` | no |
@@ -156,7 +158,7 @@ The `location` block declares a location where sourcemaps are stored on the file
156158You can specify the ` location ` block multiple times to declare multiple locations where sourcemaps are stored.
157159
158160| Name | Type | Description | Default | Required |
159- | ---------------------- | -------- | --------------------------------------------------- | ------- | -------- |
161+ | ------------------------ | ---------- | ----------------------------------------------------- | --------- | ---------- |
160162| ` minified_path_prefix ` | ` string ` | The prefix of the minified path sent from browsers. | | yes |
161163| ` path ` | ` string ` | The path on disk where sourcemaps are stored. | | yes |
162164
0 commit comments