Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
d83f11f
[Metricbeat][SQL] Add cursor-based incremental data fetching to SQL m…
shmsr Feb 6, 2026
97ce131
Fix remaining Latinisms in cursor doc comments
shmsr Feb 6, 2026
4cf2d92
Improve cursor user-facing docs completeness
shmsr Feb 6, 2026
cb515db
Fix CI lint errors: errcheck, goimports, gosec, Vale
shmsr Feb 6, 2026
f49d617
Run gofumpt on cursor package files
shmsr Feb 6, 2026
bd21c8d
make update
shmsr Feb 6, 2026
0b4fd96
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Feb 6, 2026
4dc4125
docs update
shmsr Feb 6, 2026
7f616e2
Add query timeout protection for cursor-based fetches
shmsr Feb 6, 2026
d08a942
make update
shmsr Feb 6, 2026
d6b3ea4
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Feb 6, 2026
5aeb4fb
Harden SQL cursor registry sharing to prevent file conflicts
shmsr Feb 9, 2026
c5b347c
Refactor cursor state key: replace moduleID with direction, document …
shmsr Feb 9, 2026
db191c1
Update doc.go state key documentation: add detail, fix DSN tradeoff
shmsr Feb 9, 2026
2ad663e
Update docs
shmsr Feb 9, 2026
5e16beb
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Feb 9, 2026
99b5051
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Feb 10, 2026
c81c107
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Feb 12, 2026
07c9c8e
Address review comments
shmsr Feb 12, 2026
1b7c9ad
Fix integration tests
shmsr Feb 12, 2026
0fe7707
Address review comments
shmsr Feb 12, 2026
1e57eb3
Format and add more UT
shmsr Feb 12, 2026
5538725
Merge branch 'main' into sql-cursor-incremental-fetch-oracle-integrat…
stefans-elastic Feb 16, 2026
9cf5d16
oracle integration tests
stefans-elastic Feb 16, 2026
f206667
Merge branch 'sql-cursor-incremental-fetch-oracle-integration-tests' …
stefans-elastic Feb 16, 2026
39e24df
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Feb 17, 2026
b70bd8a
[Metricbeat][SQL] Address PR review feedback and improve test robustness
shmsr Feb 17, 2026
9bd7d96
Move test helper newStore to store_test.go
shmsr Feb 17, 2026
56a8e5a
Ensure valid cursor types are checked dynamically
shmsr Feb 17, 2026
8433d42
make update
shmsr Feb 17, 2026
7bf027e
Fix test
shmsr Feb 22, 2026
1ceb89e
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Feb 22, 2026
6c92252
Apply suggestions from code review
shmsr Feb 23, 2026
53e10a5
Apply suggestions from code review
shmsr Feb 23, 2026
0c1d86d
Address PR feedback and clean up docs/tests
shmsr Feb 24, 2026
bbac66d
Address review comments
shmsr Feb 24, 2026
82ac18c
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Feb 24, 2026
c5467fe
Address review comments
shmsr Feb 24, 2026
2464f9b
Update x-pack/metricbeat/module/sql/query/cursor/store_test.go
shmsr Mar 2, 2026
889911d
Address review comments
shmsr Mar 3, 2026
7278b20
Address review comments
shmsr Mar 3, 2026
b3d7091
Address review comments
shmsr Mar 3, 2026
0f2684a
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Mar 3, 2026
018092f
Address review comments
shmsr Mar 3, 2026
432722b
Address review comments
shmsr Mar 3, 2026
d487d78
Address review comments
shmsr Mar 4, 2026
a07cd54
Fix test
shmsr Mar 4, 2026
b18123a
Add better placeholder handling and improve tests
shmsr Mar 4, 2026
d1bbbd0
Better tests
shmsr Mar 4, 2026
68476b3
More improvements
shmsr Mar 4, 2026
ce40c95
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Mar 4, 2026
f8890a1
Fix CI
shmsr Mar 4, 2026
53e0ad0
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Mar 4, 2026
10c43db
Update docs
shmsr Mar 4, 2026
80e25bb
Add auto-infer type feature for cursor
shmsr Mar 5, 2026
b9fa82c
Introduce state ID
shmsr Mar 5, 2026
ceaaec7
Address review comments
shmsr Mar 5, 2026
e7ae6d1
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Mar 5, 2026
540e01b
Fix windows tests and lint checks
shmsr Mar 5, 2026
15bab2d
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Mar 5, 2026
7a5ff84
Merge branch 'main' into feat/sql-cursor-incremental-fetch
shmsr Mar 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 55 additions & 55 deletions NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21125,6 +21125,61 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------------------
Dependency : github.com/shopspring/decimal
Version: v1.4.0
Licence type (autodetected): MIT
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/github.com/shopspring/decimal@v1.4.0/LICENSE:

The MIT License (MIT)

Copyright (c) 2015 Spring, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

- Based on https://github.com/oguzbilgic/fpd, which has the following license:
"""
The MIT License (MIT)

Copyright (c) 2013 Oguz Bilgic

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"""


--------------------------------------------------------------------------------
Dependency : github.com/spf13/cobra
Version: v1.10.2
Expand Down Expand Up @@ -70090,61 +70145,6 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice



--------------------------------------------------------------------------------
Dependency : github.com/shopspring/decimal
Version: v1.4.0
Licence type (autodetected): MIT
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/github.com/shopspring/decimal@v1.4.0/LICENSE:

The MIT License (MIT)

Copyright (c) 2015 Spring, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

- Based on https://github.com/oguzbilgic/fpd, which has the following license:
"""
The MIT License (MIT)

Copyright (c) 2013 Oguz Bilgic

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"""


--------------------------------------------------------------------------------
Dependency : github.com/sirupsen/logrus
Version: v1.9.3
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# REQUIRED
# Kind can be one of:
# - breaking-change: a change to previously-documented behavior
# - deprecation: functionality that is being removed in a later release
# - bug-fix: fixes a problem in a previous version
# - enhancement: extends functionality but does not break or fix existing behavior
# - feature: new functionality
# - known-issue: problems that we are aware of in a given version
# - security: impacts on the security of a product or a user's deployment.
# - upgrade: important information for someone upgrading from a prior version
# - other: does not fit into any of the other categories
kind: feature

# REQUIRED for all kinds
# Change summary; a 80ish characters long description of the change.
summary: Add cursor-based incremental data fetching to the SQL module query metricset.

# REQUIRED for breaking-change, deprecation, known-issue
# Long description; in case the summary is not enough to describe the change
# this field accommodate a description without length limits.
description: |
Add a cursor feature to the SQL query metricset that enables incremental data
fetching by tracking the last fetched row value. Supports integer, timestamp,
date, float, and decimal cursor types with ascending and descending scan
directions. State is persisted via libbeat statestore (memlog backend).

# REQUIRED for breaking-change, deprecation, known-issue
# impact:

# REQUIRED for breaking-change, deprecation, known-issue
# action:

# REQUIRED for all kinds
# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
component: metricbeat

# AUTOMATED
# OPTIONAL to manually add other PR URLs
# PR URL: A link the PR that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
pr: https://github.com/elastic/beats/pull/48722

# AUTOMATED
# OPTIONAL to manually add other issue URLs
# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
# issue: https://github.com/owner/repo/1234
Loading
Loading