-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Model Context Protocol (MCP) Part 2 #20287
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
2403f74
to
565e831
Compare
b37df03
to
74dfde1
Compare
close(fd); | ||
|
||
// Ensure file permissions are correct (only owner can read/write) | ||
if (chmod(path, 0600) == -1) { |
Check failure
Code scanning / CodeQL
Time-of-check time-of-use filesystem race condition High
The being operated upon was previously , but the underlying file may have been changed since then.
filename
Error loading related location
Loading checked
Error loading related location
Loading
kanelatechnical
previously approved these changes
Jun 1, 2025
stelfrag
approved these changes
Jun 2, 2025
@andrewm4894 this is done. It is working. You can play with it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/aclk
area/build
Build system (autotools and cmake).
area/collectors
Everything related to data collection
area/daemon
area/database
area/docs
area/packaging
Packaging and operating systems support
area/plugins.d
area/streaming
area/web
collectors/apps
collectors/cgroups
collectors/diskspace
collectors/freeipmi
collectors/proc
collectors/systemd-journal
collectors/windows
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.
Continuing from #20244
Infrastructure changes
strncpy()
with eitherstrncpyz()
ormemcpy()
depending on whether the length is known.RRDLABELS *
fromparser->user
. Replaced it with a counter.USER_AUTH
structure for web_clients.Websocket
USER_AUTH
is copied from web clientsAPI Changes
scope_instances
,scope_labels
,scope_dimensions
to/api/v3/data
and/api/v3/weights
.instances
,dimensions
,labels
to/api/v3/contexts
, allowing the caller to get full visibility of all metadata per context.cardinality_limit
to all contexts (instances, dimensions, labels)cardinality_limit
to/api/v3/data
cardinality_limit
to/api/v3/weights
for the MCP formatrfc3339
to/api/v3/data
and nodes and contexts metadata responseslong-keys
to/api/v3/data
to respond with meaningful json keys/api/v3/info
rfc3339
to/api/v3/alerts
long-keys
to/api/v3/alerts
MCP
list_metrics
,get_metrics_details
,list_nodes
,get_node_details
)query_metrics
)list_functions
,execute_function
)find_correlated_metrics
,find_anomalous_metrics
,find_unstable_metrics
)systemd-journal
,windows-events
)stdio
bridges for converting stdio <-> websockets (for use with Claude Desktop and Claude Code)USER_AUTH
.