Skip to content

Commit

Permalink
add example for calling profiler API via curl
Browse files Browse the repository at this point in the history
  • Loading branch information
karottenreibe committed May 7, 2024
1 parent 1df9a92 commit 3655bc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agent/README.md
Expand Up @@ -186,6 +186,8 @@ directories, you can get the commit info via
- `[PUT] /revision` Sets the revision to use for uploading to Teamscale. The revision must be in the request body in plain text.
- `[GET] /commit` Returns the current commit used for uploading to Teamscale.
- `[PUT] /commit` Sets the commit to use for uploading to Teamscale. The commit must be in the request body in plain thext in the format: branch:timestmap

Example `curl` command to set the partition: `curl --fail -X PUT -d "Manual Tests" -H "Content-Type: text/plain" http://PROFILERURL:PORT/partition`
- `sap-nwdi-applications` needed when profiling in a SAP NetWeaver Development Infrastructure. It must be a semicolon
separated list of applications. Each application is specified as a fully qualified classname (referred to as marker
class) and a Teamscale project alias or ID separated by a colon. The marker class must be guaranteed to be executed
Expand Down

0 comments on commit 3655bc4

Please sign in to comment.