Skip to content

Commit

Permalink
exclude metric attributes to solve max cardinality warn logs (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank11p authored Nov 28, 2024
1 parent 19a634e commit 8529b3f
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,18 @@ public static View createView() {
new HashSet<>(
Arrays.asList(
"net.sock.peer.addr",
"net.sock.host.addr",
"net.sock.peer.port",
"net.sock.host.port",
"net.host.name",
"net.host.port",
"net.protocol.name",
"net.protocol.version",
"http.user_agent",
"enduser.id",
"http.client_ip",
"http.route",
"http.target",
"http.request_content_length",
"http.response_content_length",
"user_agent.original"));
Expand Down

0 comments on commit 8529b3f

Please sign in to comment.