mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
refactor: reorg ingestor config files (#64)
This commit is contained in:
parent
40ba7bb00f
commit
5edddc13f2
4 changed files with 22 additions and 15 deletions
|
|
@ -14,7 +14,11 @@ FROM base as dev
|
|||
|
||||
EXPOSE 8002 8686
|
||||
|
||||
ENTRYPOINT ["vector", "-c", "http-server.core.toml", "-c", "http-server.sinks.toml", "--require-healthy", "true"]
|
||||
ENTRYPOINT ["vector", \
|
||||
"-c", "sources.toml", \
|
||||
"-c", "core.toml", \
|
||||
"-c", "http-sinks.toml", \
|
||||
"--require-healthy", "true"]
|
||||
|
||||
|
||||
## prod #############################################################################################
|
||||
|
|
@ -22,4 +26,8 @@ FROM base as prod
|
|||
|
||||
EXPOSE 8002 8686
|
||||
|
||||
ENTRYPOINT ["vector", "-c", "http-server.core.toml", "-c", "http-server.sinks.toml", "--require-healthy", "true"]
|
||||
ENTRYPOINT ["vector", \
|
||||
"-c", "sources.toml", \
|
||||
"-c", "core.toml", \
|
||||
"-c", "http-sinks.toml", \
|
||||
"--require-healthy", "true"]
|
||||
|
|
|
|||
|
|
@ -8,19 +8,6 @@ acknowledgements.enabled = true
|
|||
[api]
|
||||
enabled = true
|
||||
address = "0.0.0.0:8686"
|
||||
|
||||
[sources.http_server]
|
||||
type = "http_server"
|
||||
address = "0.0.0.0:8002"
|
||||
headers = ["authorization", "Content-Type", "Traceparent"]
|
||||
strict_path = false
|
||||
path = ""
|
||||
query_parameters = [
|
||||
"hdx_platform",
|
||||
"hdx_token",
|
||||
"sentry_key",
|
||||
"sentry_version"
|
||||
]
|
||||
# --------------------------------------------------------------------------------
|
||||
|
||||
|
||||
12
docker/ingestor/sources.toml
Normal file
12
docker/ingestor/sources.toml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[sources.http_server]
|
||||
type = "http_server"
|
||||
address = "0.0.0.0:8002"
|
||||
headers = ["authorization", "Content-Type", "Traceparent"]
|
||||
strict_path = false
|
||||
path = ""
|
||||
query_parameters = [
|
||||
"hdx_platform",
|
||||
"hdx_token",
|
||||
"sentry_key",
|
||||
"sentry_version"
|
||||
]
|
||||
Loading…
Reference in a new issue