Wavefront has integrated into VMware's CSP authentication system, and the wavefront-sdk-java library has been updated to support that. We would like spring-boot to support this authentication method as well.

The release version of wavefront-sdk-java with these changes is 3.4.0.

There are two types of CSP authentication: server-to-server tokens and user-api-tokens. We envision the changes looking something like this:

  • CSP User API Token
  • management.wavefront.csp.api-token
  • In WavefrontSenderConfiguration, something like new Builder(properties.getEffectiveUri().toString(), properties.getCspApiTokenOrThrow()).useTokenForCSP()

  • CSP Server to Server OAuth

  • management.wavefront.csp.client-id and management.wavefront.csp.client-secret (and an optional management.wavefront.csp.org-id)
  • In WavefrontSenderConfiguration, something like new Builder(properties.getEffectiveUri().toString(), properties.getCspClientIdOrThrow(), properties.getCspClientSecretOrThrow())
  • If the optional OrgID is provided, calling builder.cspOrgId(properties.getCspOrgIdOrThrow())

Thank you!

– @oppegard and @warshawd

Comment From: scottfrederick

Blocked on https://github.com/micrometer-metrics/micrometer/issues/4054

Comment From: mhalbritter

Micrometer has merged https://github.com/micrometer-metrics/micrometer/pull/4102, which adds an apiTokenType on the Wavefront config. Boot needs to make this configurable through properties. Here are the changes in the Wavefront SDK: https://github.com/wavefrontHQ/wavefront-sdk-java/pull/301

Comment From: mhalbritter

Our auto-configured WavefrontSender is now picking up the configuration property.

Comment From: mhalbritter

You can see the support URI formats here: https://github.com/wavefrontHQ/wavefront-sdk-java/pull/301