Related queries and mutations in Agent traces and evaluations. Each has its own section.
Queries
getOpenTelemetryDataStores (query)
getOpenTelemetryDataStores is a query in the Monte Carlo GraphQL API, in Agent traces and evaluations. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List all OpenTelemetry data stores for the account
Returns
Example
query GetOpenTelemetryDataStores {
getOpenTelemetryDataStores {
uuid
name
storageType
storageIdentifier
authType
createdTime
}
}Related types
Mutations
createOpenTelemetryDataStore (mutation)
createOpenTelemetryDataStore is a mutation in the Monte Carlo GraphQL API, in Agent traces and evaluations. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Create an OpenTelemetry data store
Arguments
| Argument | Type | Description |
|---|---|---|
authType | OpenTelemetryAuthType! | Authentication type (e.g. AWS_IAM_AUTH) |
credentials | JSONString | Credentials for accessing the storage. |
name | String! | Name of the data store |
storageIdentifier | String! | Storage identifier (e.g., S3 bucket name) |
storageType | OpenTelemetryStorageType! | Storage type (e.g. S3) |
Returns
CreateOpenTelemetryDataStore
Example
mutation CreateOpenTelemetryDataStore($authType: OpenTelemetryAuthType!, $name: String!, $storageIdentifier: String!, $storageType: OpenTelemetryStorageType!) {
createOpenTelemetryDataStore(authType: $authType, name: $name, storageIdentifier: $storageIdentifier, storageType: $storageType) {
key {
id
secret
}
}
}Types used only by createOpenTelemetryDataStore
createOpenTelemetryDataStoreCreateOpenTelemetryDataStore
CreateOpenTelemetryDataStoreObject type. Create an OpenTelemetry data store
| Field | Type | Description |
|---|---|---|
key | IntegrationKey | Integration key with id and secret (only available once). |
dataStore | OpenTelemetryDataStore | The created data store |
OpenTelemetryAuthType
OpenTelemetryAuthTypeEnum type.
| Value | Description |
|---|---|
AWS_IAM_AUTH |
OpenTelemetryStorageType
OpenTelemetryStorageTypeEnum type.
| Value | Description |
|---|---|
S3 |
Related types
IntegrationKey, JSONString, OpenTelemetryDataStore
deleteOpenTelemetryDataStore (mutation)
deleteOpenTelemetryDataStore is a mutation in the Monte Carlo GraphQL API, in Agent traces and evaluations. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Delete an OpenTelemetry data store
Arguments
| Argument | Type | Description |
|---|---|---|
uuid | UUID! | UUID of the data store to delete |
Returns
DeleteOpenTelemetryDataStore
Example
mutation DeleteOpenTelemetryDataStore($uuid: UUID!) {
deleteOpenTelemetryDataStore(uuid: $uuid) {
deleted
}
}Types used only by deleteOpenTelemetryDataStore
deleteOpenTelemetryDataStoreDeleteOpenTelemetryDataStore
DeleteOpenTelemetryDataStoreObject type. Delete an OpenTelemetry data store
| Field | Type | Description |
|---|---|---|
deleted | Boolean | True if the data store was deleted, false if not found |
Related types
refreshOpenTelemetryCollectorConfig (mutation)
refreshOpenTelemetryCollectorConfig is a mutation in the Monte Carlo GraphQL API, in Agent traces and evaluations. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Regenerate the OpenTelemetry collector config and restart the collector
Returns
RefreshOpenTelemetryCollectorConfig
Example
mutation RefreshOpenTelemetryCollectorConfig {
refreshOpenTelemetryCollectorConfig {
triggered
}
}Types used only by refreshOpenTelemetryCollectorConfig
refreshOpenTelemetryCollectorConfigRefreshOpenTelemetryCollectorConfig
RefreshOpenTelemetryCollectorConfigObject type. Regenerate the OpenTelemetry collector config and restart the collector
| Field | Type | Description |
|---|---|---|
triggered | Boolean! | True once the config regeneration and collector restart have been dispatched. The restart runs asynchronously, so this confirms the trigger, not its completion. |
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
