0

I have an Otel InstrumentationModule that requires com.google.gson library, from what I understand from Otel Documentation in order to inject com.google.json I need to override getAdditionalHelperClassNames function with -

  @Override
  public List<String> getAdditionalHelperClassNames() {
    return Arrays.asList(
        "com.google.gson.Gson",
  }

My issue is that com.google.gson is not a single class, there are a lot of classes inside this library, and I don't want to specify all the classes in the correct order to make that work.

Is there an option the inject a full library instead of separate classes ?

Meir Tolpin
  • 325
  • 2
  • 13

0 Answers0