graal icon indicating copy to clipboard operation
graal copied to clipboard

[GR-44611] Tracing agent: seems like there is no way to ingore arrays

Open pshirshov opened this issue 2 years ago • 3 comments

I'm trying to prevent the tracing agent from generating rules for some arrays:

{
  "name":"[Lcom.github.dockerjava.api.model.Bind;"
},
{
  "name":"[Lcom.github.dockerjava.api.model.Capability;"
},

Unfortunately it seems like both rules and regexRules can't handle this case. Even with the rules below the agent still produces a rule for [Lcom.github.dockerjava.api.model.Capability;":

{
  "rules": [
    {"excludeClasses": "[Lcom.github.dockerjava.api.model.Capability;"}
  ],
  "regexRules": [
    {"excludeClasses": "\\[L.*"}
  ]
}

pshirshov avatar Feb 05 '23 23:02 pshirshov

Hi Thank you for reaching out, we'll take a look into this shortly

oubidar-Abderrahim avatar Feb 10 '23 14:02 oubidar-Abderrahim

Tracked internally on GR 44611

oubidar-Abderrahim avatar Feb 05 '24 15:02 oubidar-Abderrahim

I think arrays should be completely ignored, maybe they should be replaced by the underlying class.

pshirshov avatar Feb 05 '24 15:02 pshirshov