Skip to content

feat(inputs.azure_monitor): support secret stores for client_secret#18815

Closed
goehou wants to merge 10 commits into
influxdata:masterfrom
goehou:master
Closed

feat(inputs.azure_monitor): support secret stores for client_secret#18815
goehou wants to merge 10 commits into
influxdata:masterfrom
goehou:master

Conversation

@goehou
Copy link
Copy Markdown
Contributor

@goehou goehou commented Apr 29, 2026

PR 1: #16483

Title

docs(inputs.internal): document internal_write input series

Body

Summary

Document the internal_write series emitted by the internal input itself.

The internal input can report its own startup status as an internal_write measurement tagged with input=internal. This series was missing from the plugin README, which only documented the output-plugin internal_write series tagged with output=<plugin_name>.

This change adds documentation for the internal_write,input=internal series and includes it in the example output.

Checklist

  • No AI generated code was used in this PR

Related Issues

resolves #16483


PR 2: #18743

Title

feat(inputs.azure_monitor): support secret stores for client_secret

Body

Summary

Add secret-store support for the Azure Monitor input client_secret option.

The Azure Monitor input previously stored client_secret as a plain string. This prevented users from referencing Telegraf secret stores for Azure client secret authentication.

This change updates client_secret to use config.Secret and resolves the secret during initialization before creating the Azure clients.

Tests were added to verify:

  • client_secret can resolve values from a secret-store reference
  • existing Azure Monitor initialization behavior continues to work

Documentation and sample configuration were updated to mention secret-store support for client_secret.

Checklist

  • No AI generated code was used in this PR

Related Issues

resolves #18743

goehou and others added 10 commits February 27, 2026 11:05
- metric.go:103: RemoveField comment said 'removes the tag' but should be 'removes the field'
- metric.go:112: 'an unique' should be 'a unique' (grammar)
- parser.go:38: Comment said 'GetParser' but should be 'SetParserFunc' to match the method name
- metric.go:103: RemoveField comment said removes the tag but should be removes the field
- metric.go:112: an unique should be a unique grammar
- parser.go:38: Comment said GetParser but should be SetParserFunc to match the method name
fix: correct documentation comments in metric.go and parser.go
@telegraf-tiger telegraf-tiger Bot added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Apr 29, 2026
@telegraf-tiger
Copy link
Copy Markdown
Contributor

@srebhan
Copy link
Copy Markdown
Member

srebhan commented Apr 29, 2026

@goehou this seems to be a duplicate of #18744. Please stop reposting existing PRs claiming authorship on those PRs!

@srebhan srebhan closed this Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

document new series of internal_write measurement Add secret support to azure_monitor

2 participants