OpenTelemetry data stores (GraphQL)

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

[OpenTelemetryDataStore!]!

Example

query GetOpenTelemetryDataStores {
  getOpenTelemetryDataStores {
    uuid
    name
    storageType
    storageIdentifier
    authType
    createdTime
  }
}

Related types

OpenTelemetryDataStore

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

ArgumentTypeDescription
authTypeOpenTelemetryAuthType!Authentication type (e.g. AWS_IAM_AUTH)
credentialsJSONStringCredentials for accessing the storage.
nameString!Name of the data store
storageIdentifierString!Storage identifier (e.g., S3 bucket name)
storageTypeOpenTelemetryStorageType!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

CreateOpenTelemetryDataStore

Object type. Create an OpenTelemetry data store

FieldTypeDescription
keyIntegrationKeyIntegration key with id and secret (only available once).
dataStoreOpenTelemetryDataStoreThe created data store
OpenTelemetryAuthType

Enum type.

ValueDescription
AWS_IAM_AUTH
OpenTelemetryStorageType

Enum type.

ValueDescription
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

ArgumentTypeDescription
uuidUUID!UUID of the data store to delete

Returns

DeleteOpenTelemetryDataStore

Example

mutation DeleteOpenTelemetryDataStore($uuid: UUID!) {
  deleteOpenTelemetryDataStore(uuid: $uuid) {
    deleted
  }
}

Types used only by deleteOpenTelemetryDataStore

DeleteOpenTelemetryDataStore

Object type. Delete an OpenTelemetry data store

FieldTypeDescription
deletedBooleanTrue if the data store was deleted, false if not found

Related types

UUID

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

RefreshOpenTelemetryCollectorConfig

Object type. Regenerate the OpenTelemetry collector config and restart the collector

FieldTypeDescription
triggeredBoolean!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.