-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jaeger-v2] Add support for Opensearch (#5257)
## Which problem is this PR solving? - part of #4843 ## Description of the changes - Added OpenSearch support in jaeger-V2. - Reused the existing Elasticsearch factory for OpenSearch. ## How was this change tested? - tested locally by running jaeger-v2 with newly added opensearch config-file. - Run the opensearch container: ```bash docker run --rm --name opensearch -p 9200:9200 -e "discovery.type=single-node" opensearchproject/opensearch:1.3.0 ``` - Execute below to run jaeger-V2 ```bash go run -tags=ui ./cmd/jaeger/. --config ./cmd/jaeger/config-opensearch.yaml ``` ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` --------- Signed-off-by: Harshvir Potpose <[email protected]> Signed-off-by: Harshvir Potpose <[email protected]>
- Loading branch information
1 parent
29e3fe8
commit db8c04c
Showing
3 changed files
with
62 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
service: | ||
extensions: [jaeger_storage, jaeger_query] | ||
pipelines: | ||
traces: | ||
receivers: [otlp] | ||
processors: [batch] | ||
exporters: [jaeger_storage_exporter] | ||
|
||
extensions: | ||
jaeger_query: | ||
trace_storage: os_main | ||
trace_storage_archive: os_archive | ||
ui_config: ./cmd/jaeger/config-ui.json | ||
|
||
jaeger_storage: | ||
opensearch: | ||
os_main: | ||
server_urls: https://localhost:9200 | ||
log_level: "error" | ||
index_prefix: "jaeger-main" | ||
use_aliases: true | ||
username: "admin" | ||
password: "admin" | ||
tls: | ||
enabled: true | ||
skip_host_verify: true | ||
tags_as_fields: | ||
all: true | ||
|
||
os_archive: | ||
server_urls: https://localhost:9200 | ||
log_level: "error" | ||
index_prefix: "jaeger-archive" | ||
use_aliases: true | ||
username: "admin" | ||
password: "admin" | ||
tls: | ||
enabled: true | ||
skip_host_verify: true | ||
tags_as_fields: | ||
all: true | ||
|
||
receivers: | ||
otlp: | ||
protocols: | ||
grpc: | ||
http: | ||
|
||
processors: | ||
batch: | ||
|
||
exporters: | ||
jaeger_storage_exporter: | ||
trace_storage: os_main |
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