Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[receiver/purefa] Pure Storage FlashArray - Purity v6.6.11+ Native OpenMetrics Support #36251

Merged
merged 27 commits into from
Dec 10, 2024

Conversation

chrroberts-pure
Copy link
Contributor

@chrroberts-pure chrroberts-pure commented Nov 6, 2024

This PR implements the changes required to scrape metrics from arrays with newer Purity versions.

In Pure Storage FlashArray Purity version 6.6.11, they released a feature that allows OpenMetrics to be scraped directly from the array without the use of an OpenMetrics Exporter.

These changes include

  • Enabling support to disable TLS Insecure Skip Verify if required (default is to verify)
  • Enabling support for the namespace HTTP param that is supported by the Purity OpenMetrics exporter.

Link to tracking issue

None

Testing

Tests have been updated for the scraper and default configs for the new Namespace and TLSInsecureSkipVerify configurations.

I have tested this with a live FlashArray running 6.6.11

Documentation

The Readme was updated to show a new example of a scrape using Purity version 6.6.11+.

@atoulme
Copy link
Contributor

atoulme commented Nov 7, 2024

Please add tests.

@chrroberts-pure
Copy link
Contributor Author

@atoulme Tests have been added. Thank you.

receiver/purefareceiver/README.md Show resolved Hide resolved
receiver/purefareceiver/README.md Show resolved Hide resolved
receiver/purefareceiver/internal/scraper.go Outdated Show resolved Hide resolved
@chrroberts-pure chrroberts-pure changed the title Pure Storage FlashArray - Purity v6.6.11+ Native OpenMetrics Support [receiver/purefa] Pure Storage FlashArray - Purity v6.6.11+ Native OpenMetrics Support Nov 25, 2024
@chrroberts-pure
Copy link
Contributor Author

Hi @jpkrohling @atoulme I'm happy with this, and I've tested with a Pure FlashArray. Please let me know if there is anything else that is blocking the merge of this PR. Thank you.

Copy link
Member

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, the codeowners check failure can be ignored. Once the conflict is sorted out, this can be merged.

@atoulme atoulme added the ready to merge Code review completed; ready to merge by maintainers label Dec 10, 2024
@jpkrohling jpkrohling merged commit 24802b6 into open-telemetry:main Dec 10, 2024
170 checks passed
@github-actions github-actions bot added this to the next release milestone Dec 10, 2024
sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 2024
…enMetrics Support (open-telemetry#36251)

This PR implements the changes required to scrape metrics from arrays
with newer Purity versions.

In Pure Storage FlashArray Purity version 6.6.11, they released a
feature that allows OpenMetrics to be scraped directly from the array
without the use of an OpenMetrics Exporter.

These changes include
- Enabling support to disable TLS Insecure Skip Verify if required
(default is to verify)
- Enabling support for the `namespace` HTTP param that is supported by
the Purity OpenMetrics exporter.

#### Link to tracking issue
None

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Tests have been updated for the scraper and default configs for the new
Namespace and TLSInsecureSkipVerify configurations.

I have tested this with a live FlashArray running 6.6.11


#### Documentation

The Readme was updated to show a new example of a scrape using Purity
version 6.6.11+.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Code review completed; ready to merge by maintainers receiver/purefa
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants