Skip to content

[DOCS] Renames ML get usage info APIs back to get stats #4299

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 1 commit into from
Apr 23, 2025

Conversation

szabosteve
Copy link
Contributor

Overview

Closes #4288

This PR renames the GET datafeed, anomaly detection, and data frame analytics usage info APIs to GET stats, as this was the name before switching to the new system.

Copy link
Contributor

Following you can find the validation results for the APIs you have changed.

API Status Request Response
ml.get_data_frame_analytics_stats 🟢 12/12 12/12
ml.get_datafeed_stats 🟢 27/27 27/27
ml.get_job_stats 🟢 32/32 32/32

You can validate these APIs yourself by using the make validate target.

Copy link
Contributor

@valeriy42 valeriy42 left a comment

Choose a reason for hiding this comment

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

LGTM

@szabosteve szabosteve merged commit 42e9256 into main Apr 23, 2025
16 of 24 checks passed
@szabosteve szabosteve deleted the szabosteve/issue-4288 branch April 23, 2025 14:20
github-actions bot pushed a commit that referenced this pull request Apr 23, 2025
Copy link
Contributor

The backport to 8.16 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.16 8.16
# Navigate to the new working tree
cd .worktrees/backport-8.16
# Create a new branch
git switch --create backport-4299-to-8.16
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 42e9256a5dde9c1bc7e43d96acd8d6dda448cc22
# Push it to GitHub
git push --set-upstream origin backport-4299-to-8.16
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.16

Then, create a pull request where the base branch is 8.16 and the compare/head branch is backport-4299-to-8.16.

Copy link
Contributor

The backport to 8.17 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.17 8.17
# Navigate to the new working tree
cd .worktrees/backport-8.17
# Create a new branch
git switch --create backport-4299-to-8.17
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 42e9256a5dde9c1bc7e43d96acd8d6dda448cc22
# Push it to GitHub
git push --set-upstream origin backport-4299-to-8.17
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.17

Then, create a pull request where the base branch is 8.17 and the compare/head branch is backport-4299-to-8.17.

Copy link
Contributor

The backport to 9.0 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-9.0 9.0
# Navigate to the new working tree
cd .worktrees/backport-9.0
# Create a new branch
git switch --create backport-4299-to-9.0
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 42e9256a5dde9c1bc7e43d96acd8d6dda448cc22
# Push it to GitHub
git push --set-upstream origin backport-4299-to-9.0
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-9.0

Then, create a pull request where the base branch is 9.0 and the compare/head branch is backport-4299-to-9.0.

szabosteve added a commit that referenced this pull request Apr 23, 2025
…ts (#4301)

* [DOCS] Renames ML get usage info APIs back to get stats. (#4299)

(cherry picked from commit 42e9256)

* Update package-lock.json

* Update package.json

---------

Co-authored-by: István Zoltán Szabó <[email protected]>
szabosteve added a commit that referenced this pull request Apr 23, 2025
#4300)

* [DOCS] Renames ML get usage info APIs back to get stats. (#4299)

(cherry picked from commit 42e9256)

* Update package.json

* Update package-lock.json

---------

Co-authored-by: István Zoltán Szabó <[email protected]>
szabosteve added a commit that referenced this pull request Apr 23, 2025
* [DOCS] Renames ML get usage info APIs back to get stats. (#4299)

* Make contrib.

* Restores package-lock.json.
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.

Rename to ml stats, not usage
2 participants