feat(settings): add o11y_provisioner_url and o11y_provisioner_api_key

What does this MR do?

Adds the two GitLab Observability provisioner settings that GitLab 19.6 documents in the application settings API:

  • Settings.O11yProvisionerURL decodes o11y_provisioner_url.
  • UpdateSettingsOptions.O11yProvisionerAPIKey and UpdateSettingsOptions.O11yProvisionerURL send o11y_provisioner_api_key and o11y_provisioner_url.

Settings gets no field for the API key, because GitLab accepts it on update but never returns it (application_setting.rb removes it from the response). The documentation says both settings are available on GitLab.com only.

Is this a breaking change?

No. It adds three fields and changes nothing else.

How was this tested?

  • Two new tests: the update sends exactly the two keys and decodes the URL from the response, and the get decodes the URL.
  • go test work -race passes on Go 1.26.10 and 1.27.3. make generate and make fmt change no file, and golangci-lint 2.15.0, buf format and buf lint report nothing.
  • With any one of the three new json tags misspelled, the tests that read that tag fail.

I found the gap while maintaining gitlab-mcp-server, which is built on this library.

Merge request reports

Loading
Loading