-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from tomershafir/feat/grafana-pyroscope
Add pyroscopereceiver and clickhouseprofileexporter READMEs
- Loading branch information
Showing
8 changed files
with
86 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Clickhouse Profile Exporter | ||
|
||
| Status | | | ||
| ------------------------ |-----------------------| | ||
| Stability | [beta] | | ||
| Supported pipeline types | logs | | ||
|
||
Exports conveyed OpenTelemetry logs backed IR for profiles into a Clickhouse cluster. See [Pyropscope Receiver](../../receiver/pyroscopereceiver), which can send compatible profiles. | ||
|
||
## Configuration | ||
|
||
- `dsn` (required): sets the ClickHouse server Data Source Name. For tcp protocol reference: [ClickHouse/clickhouse-go#dsn](https://github.com/ClickHouse/clickhouse-go#dsn). For http protocol reference: [mailru/go-clickhouse/#dsn](https://github.com/mailru/go-clickhouse/#dsn). | ||
|
||
## Example | ||
|
||
```yaml | ||
receivers: | ||
pyroscopereceiver: | ||
protocols: | ||
http: | ||
endpoint: 0.0.0.0:8062 | ||
timeout: 30s | ||
|
||
exporters: | ||
clickhouseprofileexporter: | ||
dsn: tcp://0.0.0.0:9000/qryn | ||
timeout: 10s | ||
sending_queue: | ||
queue_size: 100 | ||
retry_on_failure: | ||
enabled: true | ||
initial_interval: 5s | ||
max_interval: 30s | ||
max_elapsed_time: 300s | ||
|
||
service: | ||
pipelines: | ||
logs/profiles: | ||
receivers: [pyroscopereceiver] | ||
processors: [batch] | ||
exporters: [clickhouseprofileexporter] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,52 @@ | ||
# pyroscope receiver | ||
# Pyroscope Receiver | ||
|
||
| Status | | | ||
| ------------------------ |-----------------------| | ||
| Stability | [alpha] | | ||
| Stability | [beta] | | ||
| Supported pipeline types | logs | | ||
|
||
The pyroscope receiver implements the pyroscope ingest http api. | ||
Implements the Pyroscope ingest protocol and conveys the accepted profiles as OpenTelemetry logs backed IR for further processing and export. | ||
|
||
## Getting Started | ||
## Configuration | ||
|
||
- `protocols`: sets the application layer protocols that the receiver will serve. See [Supported Protocols](#supported-protocols). Default is http/s on 0.0.0.0:8062 with max request body size of: 5e6 + 1e6. | ||
- `timeout`: sets the server reponse timeout. Default is 10 seconds. | ||
- `request_body_size_expected_value`: sets the expected decompressed request body size in bytes to size pipeline buffers and optimize allocations. Default is 0. | ||
|
||
## Example | ||
|
||
Example: | ||
```yaml | ||
receivers: | ||
pyroscopereceiver: | ||
protocols: | ||
http: | ||
endpoint: 0.0.0.0:8062 | ||
timeout: 30s | ||
|
||
exporters: | ||
clickhouseprofileexporter: | ||
dsn: tcp://0.0.0.0:9000/qryn | ||
timeout: 10s | ||
sending_queue: | ||
queue_size: 100 | ||
retry_on_failure: | ||
enabled: true | ||
initial_interval: 5s | ||
max_interval: 30s | ||
max_elapsed_time: 300s | ||
|
||
service: | ||
pipelines: | ||
logs/profiles: | ||
receivers: [pyroscopereceiver] | ||
processors: [batch] | ||
exporters: [clickhouseprofileexporter] | ||
``` | ||
## Supported Protocols | ||
Http | ||
## Supported Languages | ||
Java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters