1
0
Fork 0

Add OpenTelemetry tracing and metrics support

This commit is contained in:
Tom Moulard 2022-11-29 15:34:05 +01:00 committed by GitHub
parent db287c4d31
commit 0d81fac3fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 2199 additions and 90 deletions

View file

@ -72,8 +72,8 @@ func TestComputeHash(t *testing.T) {
}{
{
desc: "hashing",
text: "some very long pice of text",
expected: "0258ea1c",
text: "some very long piece of text",
expected: "0c6e798b",
},
{
desc: "short text less than limit 10",
@ -109,7 +109,7 @@ func TestTruncateString(t *testing.T) {
},
{
desc: "basic truncate with limit 10",
text: "some very long pice of text",
text: "some very long piece of text",
limit: 10,
expected: "some ve...",
},