Skip to content

[DOCS-14678] Document search_string regex behavior when exact_match is false#24208

Merged
domalessi merged 5 commits into
masterfrom
domalessi/docs-14678-process-check-regex
Jun 30, 2026
Merged

[DOCS-14678] Document search_string regex behavior when exact_match is false#24208
domalessi merged 5 commits into
masterfrom
domalessi/docs-14678-process-check-regex

Conversation

@domalessi

@domalessi domalessi commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

Fixes DOCS-14678

Adds a note and before/after YAML example to the Process Check README documenting that search_string values are interpreted as Python regular expressions using re.search() when exact_match is set to false. Regex metacharacters must be escaped for literal matching.

This behavior was undocumented and caused a customer's process check monitor to fail to detect a running Java process containing . and + in the path.

Merge instructions

Merge readiness:

  • Ready for merge

Additional notes

…s false

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@datadog-prod-us1-6

This comment has been minimized.

domalessi and others added 2 commits June 26, 2026 14:53
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jeff-morgan-dd
jeff-morgan-dd previously approved these changes Jun 26, 2026
@domalessi domalessi added the qa/skip-qa Automatically skip this PR for the next QA label Jun 29, 2026
@temporal-github-worker-1 temporal-github-worker-1 Bot dismissed jeff-morgan-dd’s stale review June 30, 2026 18:21

Review from jeff-morgan-dd is dismissed. Related teams and files:

  • documentation
    • process/README.md

@jeff-morgan-dd jeff-morgan-dd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@dd-octo-sts

dd-octo-sts Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Validation Report

All 21 validations passed.

Show details
Validation Description Status
agent-reqs Verify check versions match the Agent requirements file
ci Validate CI configuration and code coverage settings
codeowners Validate every integration has a CODEOWNERS entry
config Validate default configuration files against spec.yaml
dep Verify dependency pins are consistent and Agent-compatible
http Validate integrations use the HTTP wrapper correctly
imports Validate check imports do not use deprecated modules
integration-style Validate check code style conventions
jmx-metrics Validate JMX metrics definition files and config
labeler Validate PR labeler config matches integration directories
legacy-signature Validate no integration uses the legacy Agent check signature
license-headers Validate Python files have proper license headers
licenses Validate third-party license attribution list
metadata Validate metadata.csv metric definitions
models Validate configuration data models match spec.yaml
openmetrics Validate OpenMetrics integrations disable the metric limit
package Validate Python package metadata and naming
qa-label Validate the pull request declares whether it needs QA for the next Agent release
readmes Validate README files have required sections
saved-views Validate saved view JSON file structure and fields
version Validate version consistency between package and changelog

View full run

@domalessi domalessi added this pull request to the merge queue Jun 30, 2026
Merged via the queue into master with commit 665acb1 Jun 30, 2026
63 of 68 checks passed
@domalessi domalessi deleted the domalessi/docs-14678-process-check-regex branch June 30, 2026 20:03
@dd-octo-sts dd-octo-sts Bot added this to the 7.82.0 milestone Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants