-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: unify clickhouse database and table names #290
- Loading branch information
Showing
96 changed files
with
395 additions
and
430 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
5 changes: 0 additions & 5 deletions
5
otel-collector/exporter/clickhouselogsexporter/example/README.md
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,7 +1,2 @@ | ||
# collect docker container logs and syslog using filelog reciever | ||
|
||
Steps | ||
* Make sure you have clickhouse from signoz running on your system. | ||
* run `make build-signoz-collector` in the root directory of this project | ||
* run the `docker compose up -d` | ||
* generate logs `docker run --rm mingrammer/flog:0.4.3 --format=json --sleep=0.5s --loop` |
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,8 @@ | ||
package clickhouselogsexporter | ||
|
||
const ( | ||
DefaultLogDatabase string = "datav_logs" | ||
DefaultLogDatasource string = "tcp://127.0.0.1:9000/?database=datav_logs" | ||
DefaultLogsTable string = "distributed_logs" | ||
DefaultLogTagAttributes string = "distributed_log_tag_attributes" | ||
) |
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,7 +0,0 @@ | ||
Archive storage? | ||
hold/cold to clickhouse? Use of S3 for cold? | ||
|
||
support other configs/flags? | ||
Is Operations Table needed? | ||
|
||
cat ./opentelemetry-collector/exporter/clickhouseexporter/sql-schema/signoz-index.sql | sudo ./clickhouse client -h 18.220.17.59 -mn | ||
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
Oops, something went wrong.