mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
chore: bump vector to v0.37.0 (#357)
This commit is contained in:
parent
59a3c0f43e
commit
d3e270ad15
5 changed files with 20 additions and 14 deletions
6
.changeset/itchy-bikes-cheat.md
Normal file
6
.changeset/itchy-bikes-cheat.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
'@hyperdx/api': patch
|
||||
'@hyperdx/app': patch
|
||||
---
|
||||
|
||||
chore: bump vector to v0.37.0
|
||||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
- name: Install vector
|
||||
run: |
|
||||
mkdir -p vector
|
||||
curl -sSfL --proto '=https' --tlsv1.2 https://packages.timber.io/vector/0.34.0/vector-0.34.0-x86_64-unknown-linux-musl.tar.gz | tar xzf - -C vector --strip-components=2
|
||||
curl -sSfL --proto '=https' --tlsv1.2 https://packages.timber.io/vector/0.37.0/vector-0.37.0-x86_64-unknown-linux-musl.tar.gz | tar xzf - -C vector --strip-components=2
|
||||
cp ./vector/bin/vector /usr/local/bin/vector
|
||||
vector --version
|
||||
- name: Run lint + type check
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
## base #############################################################################################
|
||||
FROM timberio/vector:0.35.0-alpine AS base
|
||||
FROM timberio/vector:0.37.0-alpine AS base
|
||||
|
||||
RUN mkdir -p /var/lib/vector
|
||||
VOLUME ["/var/lib/vector"]
|
||||
|
|
|
|||
|
|
@ -22,6 +22,17 @@ acknowledgements.enabled = true
|
|||
# --------------------------------------------------------------------------------
|
||||
# ------------------------------ Middleware --------------------------------------
|
||||
# --------------------------------------------------------------------------------
|
||||
[transforms.internal_logs]
|
||||
type = "remap"
|
||||
inputs = ["vector_logs"]
|
||||
source = '''
|
||||
. = merge(.,
|
||||
{
|
||||
"hdx_token": "${HYPERDX_API_KEY-tacocat}",
|
||||
"hdx_platform": "vector-internal"
|
||||
}
|
||||
)
|
||||
'''
|
||||
# WARNING: used for logs and spans only
|
||||
[transforms.process_headers_n_params]
|
||||
type = "remap"
|
||||
|
|
|
|||
|
|
@ -1,17 +1,6 @@
|
|||
# --------------------------------------------------------------------------------
|
||||
# ------------------------------ Transforms --------------------------------------
|
||||
# --------------------------------- Sinks ----------------------------------------
|
||||
# --------------------------------------------------------------------------------
|
||||
[transforms.internal_logs]
|
||||
type = "remap"
|
||||
inputs = ["vector_logs"]
|
||||
source = '''
|
||||
. = merge(.,
|
||||
{
|
||||
"hdx_token": "${HYPERDX_API_KEY}",
|
||||
"hdx_platform": "vector-internal"
|
||||
}
|
||||
)
|
||||
'''
|
||||
|
||||
[sinks.go_parser]
|
||||
type = "http"
|
||||
|
|
|
|||
Loading…
Reference in a new issue