Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
36be27a
chore: add integration tests around Serverless ASM
RomainMuller Oct 23, 2023
1bb5c16
record new cases in the build scripts
RomainMuller Oct 23, 2023
daf14fb
update snapshots + some tuning
RomainMuller Oct 23, 2023
9ac55b1
improve normalization procedure
RomainMuller Oct 24, 2023
f3b3406
linter fix
RomainMuller Oct 24, 2023
4118cc7
better isolate integration test suites (improved specificity of pass/…
RomainMuller Oct 24, 2023
1574db9
improved doc in run.sh
RomainMuller Oct 24, 2023
6b31944
print out selected test suite when one has been selected...
RomainMuller Oct 24, 2023
5a35b8e
wait for 2 reports to have been emitted
RomainMuller Oct 24, 2023
74d2418
output raw logs on test failure
RomainMuller Oct 24, 2023
f4aac42
update default node layer version to latest
RomainMuller Oct 24, 2023
dd95ef5
add necessary node configuration, duh
RomainMuller Oct 24, 2023
e6f87e3
scope down except block
RomainMuller Oct 25, 2023
49464fc
reduce breaking changes
RomainMuller Oct 30, 2023
8a43602
Merge remote-tracking branch 'origin/main' into romain.marcadier/apps…
RomainMuller Oct 30, 2023
e453f72
improve prefix check
RomainMuller Oct 30, 2023
fbd5da4
re-normalize existing snapshots
RomainMuller Oct 30, 2023
46a9d1f
remove editor-inserted semicolons
RomainMuller Oct 31, 2023
d8a41c7
sort imports in python file
RomainMuller Oct 31, 2023
e8a2acc
Merge remote-tracking branch 'origin/main' into romain.marcadier/apps…
RomainMuller Oct 31, 2023
1a0df31
flat_map --> flatmap
RomainMuller Oct 31, 2023
273e07d
no raw log output, just print location
RomainMuller Oct 31, 2023
b2b7a5b
pin + update snapshots
RomainMuller Oct 31, 2023
f8d754c
update snapshots
RomainMuller Oct 31, 2023
293034e
remove tracer hostname from traces normalization
RomainMuller Oct 31, 2023
1339f0e
Merge remote-tracking branch 'origin/main' into romain.marcadier/apps…
RomainMuller Nov 3, 2023
151758e
Merge remote-tracking branch 'origin/main' into romain.marcadier/apps…
RomainMuller Nov 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove tracer hostname from traces normalization
  • Loading branch information
RomainMuller committed Oct 31, 2023
commit 293034ef63b06e77076558ec3aab67fc5f8532b2
1 change: 1 addition & 0 deletions test/integration/serverless/log_normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def sort__dd_tags_container(log):
replace(r'("otel.trace_id":")[a-zA-Z0-9]+"', r'\1null"'),
replace(r'("faas.execution":")[a-zA-Z0-9-]+"', r'\1null"'),
replace(r'("faas.instance":")[a-zA-Z0-9-/]+\[\$LATEST\][a-zA-Z0-9]+"', r'\1null"'),
replace(r'("_dd.tracer_hostname":)"\d{1,3}(?:.\d{1,3}){3}"+', r'\1"<redacted>"'),
replace(stage, 'XXXXXX'),
exclude(r'[ ]$'),
foreach(sort__dd_tags_container),
Expand Down
4 changes: 2 additions & 2 deletions test/integration/serverless/snapshots/trace-go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"_dd.compute_stats": "1",
"_dd.origin": "lambda",
"_dd.p.dm": "-1",
"_dd.tracer_hostname": "169.254.199.165",
"_dd.tracer_hostname": "<redacted>",
"account_id": "425362996713",
"architecture": "XXX",
"aws_account": "425362996713",
Expand Down Expand Up @@ -174,7 +174,7 @@
"_dd.compute_stats": "1",
"_dd.origin": "lambda",
"_dd.p.dm": "-1",
"_dd.tracer_hostname": "169.254.199.165",
"_dd.tracer_hostname": "<redacted>",
"account_id": "425362996713",
"architecture": "XXX",
"aws_account": "425362996713",
Expand Down