- 
                Notifications
    You must be signed in to change notification settings 
- Fork 315
Stable Config: make Selector.matches field optional #8898
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
          
     Merged
      
      
    
                
     Merged
            
            
          Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    | Hi! 👋 Thanks for your pull request! 🎉 To help us review it, please make sure to: 
 If you need help, please check our contributing guidelines. | 
| BenchmarksStartupLoadParameters
 See matching parameters
 SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 19 unstable metrics. Request duration reports for petclinicgantt
    title petclinic - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~d0aa2a89cc, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.353 ms) : 1333, 1374
.   : milestone, 1353,
appsec (1.745 ms) : 1722, 1768
.   : milestone, 1745,
appsec_no_iast (1.727 ms) : 1704, 1749
.   : milestone, 1727,
code_origins (1.649 ms) : 1622, 1677
.   : milestone, 1649,
iast (1.5 ms) : 1475, 1525
.   : milestone, 1500,
profiling (1.554 ms) : 1530, 1579
.   : milestone, 1554,
tracing (1.49 ms) : 1465, 1515
.   : milestone, 1490,
section candidate
no_agent (1.352 ms) : 1333, 1372
.   : milestone, 1352,
appsec (1.731 ms) : 1707, 1754
.   : milestone, 1731,
appsec_no_iast (1.729 ms) : 1706, 1753
.   : milestone, 1729,
code_origins (1.667 ms) : 1640, 1695
.   : milestone, 1667,
iast (1.532 ms) : 1508, 1556
.   : milestone, 1532,
profiling (1.521 ms) : 1496, 1546
.   : milestone, 1521,
tracing (1.485 ms) : 1460, 1511
.   : milestone, 1485,
 
 
 
 Request duration reports for insecure-bankgantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~d0aa2a89cc, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (375.535 µs) : 356, 395
.   : milestone, 376,
iast (516.196 µs) : 495, 538
.   : milestone, 516,
iast_FULL (728.631 µs) : 707, 751
.   : milestone, 729,
iast_GLOBAL (556.223 µs) : 535, 578
.   : milestone, 556,
iast_HARDCODED_SECRET_DISABLED (516.51 µs) : 493, 540
.   : milestone, 517,
iast_INACTIVE (468.561 µs) : 446, 491
.   : milestone, 469,
iast_TELEMETRY_OFF (499.396 µs) : 476, 523
.   : milestone, 499,
tracing (457.52 µs) : 435, 480
.   : milestone, 458,
section candidate
no_agent (380.637 µs) : 361, 400
.   : milestone, 381,
iast (508.759 µs) : 487, 530
.   : milestone, 509,
iast_FULL (735.433 µs) : 714, 757
.   : milestone, 735,
iast_GLOBAL (568.814 µs) : 546, 591
.   : milestone, 569,
iast_HARDCODED_SECRET_DISABLED (515.58 µs) : 494, 537
.   : milestone, 516,
iast_INACTIVE (467.82 µs) : 445, 491
.   : milestone, 468,
iast_TELEMETRY_OFF (498.167 µs) : 475, 521
.   : milestone, 498,
tracing (452.718 µs) : 431, 474
.   : milestone, 453,
 
 
 
 DacapoParameters
 See matching parameters
 SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for tomcatgantt
    title tomcat - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~d0aa2a89cc, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.471 ms) : 1460, 1483
.   : milestone, 1471,
appsec (2.383 ms) : 2335, 2431
.   : milestone, 2383,
iast (2.179 ms) : 2118, 2240
.   : milestone, 2179,
iast_GLOBAL (2.208 ms) : 2147, 2269
.   : milestone, 2208,
profiling (2.029 ms) : 1980, 2078
.   : milestone, 2029,
tracing (1.99 ms) : 1942, 2037
.   : milestone, 1990,
section candidate
no_agent (1.476 ms) : 1464, 1487
.   : milestone, 1476,
appsec (2.383 ms) : 2335, 2431
.   : milestone, 2383,
iast (2.166 ms) : 2105, 2227
.   : milestone, 2166,
iast_GLOBAL (2.216 ms) : 2155, 2278
.   : milestone, 2216,
profiling (2.498 ms) : 2315, 2680
.   : milestone, 2498,
tracing (2.008 ms) : 1960, 2056
.   : milestone, 2008,
 
 
 
 Execution time for biojavagantt
    title biojava - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~d0aa2a89cc, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.487 s) : 15487000, 15487000
.   : milestone, 15487000,
appsec (15.159 s) : 15159000, 15159000
.   : milestone, 15159000,
iast (18.705 s) : 18705000, 18705000
.   : milestone, 18705000,
iast_GLOBAL (18.123 s) : 18123000, 18123000
.   : milestone, 18123000,
profiling (15.434 s) : 15434000, 15434000
.   : milestone, 15434000,
tracing (14.986 s) : 14986000, 14986000
.   : milestone, 14986000,
section candidate
no_agent (14.958 s) : 14958000, 14958000
.   : milestone, 14958000,
appsec (14.949 s) : 14949000, 14949000
.   : milestone, 14949000,
iast (18.789 s) : 18789000, 18789000
.   : milestone, 18789000,
iast_GLOBAL (18.142 s) : 18142000, 18142000
.   : milestone, 18142000,
profiling (15.535 s) : 15535000, 15535000
.   : milestone, 15535000,
tracing (14.572 s) : 14572000, 14572000
.   : milestone, 14572000,
 
 
 
 | 
              
                    mcculls
  
              
              approved these changes
              
                  
                    May 29, 2025 
                  
              
              
            
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      Labels
      
    comp: api
  Tracer public API 
  
    tag: no release notes
  Changes to exclude from release notes 
  
    type: bug
  Bug report and fix 
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
What Does This Do
Modifies stableconfig yaml parsing to account for Selectors without a
matchesentry.Motivation
Stableconfig yaml parsing was modified since the v1.49.0 release in this PR. With the latest dev version, I encountered null ptr exception while testing the following valid file:
See: https://github.com/DataDog/system-tests/actions/runs/15278035597/job/42969611110?pr=4333
Additional Notes
Contributor Checklist
type:and (comp:orinst:) labels in addition to any usefull labelsclose,fixor any linking keywords when referencing an issue.Use
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]