Tessell Monitoring API

The Monitoring API from Tessell — 12 operation(s) for monitoring.

OpenAPI Specification

tessell-monitoring-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: Tessell APIs activity-center Monitoring API
  contact:
    email: support@tessell.com
    name: Tessell Inc
    url: https://www.tessell.com
  description: Tessell API Documentation
  termsOfService: https://www.tessell.com/terms
  version: '1.0'
servers:
- url: '{server}'
  variables:
    server:
      default: console.tessell.com
tags:
- name: Monitoring
paths:
  /monitoring/metrics/avg-db-load:
    post:
      tags:
      - Monitoring
      operationId: getAvgDbLoad
      description: Returns Average DB Load
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AvgDbLoadPayload'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvgDbLoadResponse'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      parameters:
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
  /monitoring/metrics/top-dimensions:
    post:
      tags:
      - Monitoring
      operationId: getTopDimensions
      description: Returns Top dimensions
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TopDimensionsPayload'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TopDimensionsResponse'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      parameters:
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
  /monitoring/metrics/extended-perf-metrics:
    post:
      tags:
      - Monitoring
      operationId: getExtendedPerfMetrics
      description: Returns Extended Perf Insights Metrics for a given metric
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExtendedPerfMetricsPayload'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedPerfMetricsResponse'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      parameters:
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
  /monitoring/metrics/top-processes:
    get:
      tags:
      - Monitoring
      operationId: getTopProcesses
      description: Returns top processes running on the vm
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/compute-resource-id-in-query'
      - $ref: '#/components/parameters/start-time-in-query'
      - $ref: '#/components/parameters/end-time-in-query'
      - $ref: '#/components/parameters/num-top-k-in-query'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TopProcessesResponse'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/metrics:
    get:
      tags:
      - Monitoring
      operationId: getMonitoringMetrics
      description: Returns the metrics data
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/entity-type-in-query'
      - $ref: '#/components/parameters/service-id-in-query'
      - $ref: '#/components/parameters/service-instance-id-in-query'
      - $ref: '#/components/parameters/compute-resource-id-in-query'
      - $ref: '#/components/parameters/start-time-in-query'
      - $ref: '#/components/parameters/end-time-in-query'
      - $ref: '#/components/parameters/step-in-query'
      - $ref: '#/components/parameters/metric-source-in-query'
      - $ref: '#/components/parameters/aggregation-types-in-query'
      - $ref: '#/components/parameters/granularity-in-query'
      - $ref: '#/components/parameters/chart-title-in-query'
      - $ref: '#/components/parameters/get-all-aggregations-in-query'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: The list of metrics
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MonitoringChart'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/compute-resources/summary:
    get:
      tags:
      - Monitoring
      operationId: getComputeResourcesMonitoringSummary
      description: View a list of available Compute Resources
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/compute-resource-ids-in-query'
      - $ref: '#/components/parameters/time-duration-for-aggregation-in-query'
      - $ref: '#/components/parameters/aggregation-type-in-query'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComputeResourceMonitoringSummaryResponse'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/service/{id}/features/{feature-name}:
    get:
      tags:
      - Monitoring
      operationId: getMonitoringFeature
      description: Get monitoring feature details for a service
      parameters:
      - name: id
        in: path
        description: id
        required: true
        style: simple
        schema:
          type: string
          format: uuid
      - name: feature-name
        in: path
        description: feature name
        required: true
        style: simple
        schema:
          $ref: '#/components/schemas/MonitoringFeatureName'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMonitoringFeatureResponse'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    patch:
      tags:
      - Monitoring
      operationId: patchMonitoringFeature
      description: Patches (enable / disable) monitoring features on a specific service
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - name: id
        in: path
        description: id
        required: true
        style: simple
        schema:
          type: string
          format: uuid
      - name: feature-name
        in: path
        description: feature name
        required: true
        style: simple
        schema:
          $ref: '#/components/schemas/MonitoringFeatureName'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchMonitoringFeaturePayload'
      responses:
        '202':
          description: ACCEPTED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiStatus'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/infra:
    post:
      tags:
      - Monitoring
      operationId: provisionMonitoringInfra
      description: Provisioning a Monitoring Infra
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProvisionMonitoringInfraPayload'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/taskSummary'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/infras:
    get:
      tags:
      - Monitoring
      description: Returns the Monitoring Infra deployment details
      operationId: getMonitoringInfras
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/cloud-in-query'
      - $ref: '#/components/parameters/region-in-query'
      - $ref: '#/components/parameters/vpc-id-in-query'
      - $ref: '#/components/parameters/subscription-id-in-query'
      - $ref: '#/components/parameters/deployment-statuses-in-query'
      - $ref: '#/components/parameters/deployment-skip-statuses-in-query'
      - $ref: '#/components/parameters/pageSize'
      - $ref: '#/components/parameters/pageOffset'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: The list of Monitoring Infra deployments
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitoringInfrasResponse'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/infra/{id}:
    get:
      tags:
      - Monitoring
      operationId: getMonitoringInfra
      description: Gets the Monitoring Infra with the given id
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/MonitoringInfraId'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitoringInfraDTO'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    delete:
      tags:
      - Monitoring
      operationId: deleteMonitoringInfra
      description: Deletes a Monitoring Infra
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/MonitoringInfraId'
      - name: force
        in: query
        description: Force deletes the Monitoring Infra even if some services are using the infra
        style: form
        schema:
          type: boolean
          default: false
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/taskSummary'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/infra/{id}/active-db-services:
    get:
      tags:
      - Monitoring
      operationId: getMonitoringInfraActiveDbServices
      description: Gets all the active db services that are using the infra
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/MonitoringInfraId'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitoringInfraActiveDbServicesResponse'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/deployments/{deployment-id}:
    get:
      tags:
      - Monitoring
      description: Returns the monitoring service details data
      operationId: getMonitoringDeployment
      parameters:
      - $ref: '#/components/parameters/deployment-id-in-path'
      - $ref: '#/components/parameters/load-instances-in-query'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: The monitoring deployment
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitoringDeploymentOpsDTO'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    apiStatus:
      title: apiStatus
      type: object
      properties:
        status:
          type: string
        message:
          type: string
    ApiError:
      type: object
      description: Common error response object for non 2xx responses
      properties:
        code:
          type: string
          description: Status code for the error response
        message:
          type: string
          description: Error message for API response
        resolution:
          type: string
        timestamp:
          type: string
          format: date-time
        contextId:
          type: string
          description: ContextId of API request
        sessionId:
          type: string
          description: SessionId of API request
        tessellErrorCode:
          type: string
          description: Unique error code specific to Tessell
    apiResponse:
      example:
        metadata:
          pagination:
            pageOffset: 0
            pageSize: 6
          records: 1
          timeZone: timeZone
        response: '{}'
      properties:
        metadata:
          $ref: '#/components/schemas/apiMetadata'
        response:
          type: object
      title: ApiResponse
      type: object
    TopProcessesMetricValue:
      title: TopProcessesMetricValue
      type: object
      properties:
        processName:
          type: string
          description: Name of the process
        pid:
          type: string
          description: PID of the processes
        value:
          type: number
          format: double
          description: Value of the process metric
    ProvisionMonitoringInfraPayload:
      title: ProvisionMonitoringInfraPayload
      type: object
      required:
      - subscriptionName
      - cloudType
      - region
      - vpcName
      - computeId
      - owner
      properties:
        name:
          type: string
          description: Name of the monitoring infra
        tenantId:
          type: string
          format: uuid
          description: Tenant Id
        subscriptionName:
          type: string
          description: Subscription Name
        cloudType:
          $ref: '#/components/schemas/cloudType'
        region:
          type: string
          description: Region in which the infra to be provisioned
        vpcName:
          type: string
          description: Vpc in which the infra to be provisioned
        cloudAccountId:
          type: string
          format: uuid
          description: Cloud account id of the data plane where infra to be provisioned
        encryptionKeyCloudId:
          type: string
          description: Encryption Key Id of the cloud
        computeId:
          type: string
          format: uuid
          description: Compute Id for the compute configuration
        volumeSize:
          type: integer
          description: Volume size of the infra
        owner:
          type: string
          description: Owner of the infra
        skipProvisionRollback:
          type: boolean
          default: false
          description: Internal flag to indicate if vms to be rolled back in case of provision failure
    MonitoringInfraDTO:
      title: MonitoringInfraDTO
      type: object
      allOf:
      - $ref: '#/components/schemas/MonitoringDeploymentCommon'
      properties:
        computeId:
          type: string
          format: uuid
        activeDbServicesCount:
          type: integer
          format: int32
          minimum: 0
    MonitoringSliceBy:
      title: MonitoringSliceBy
      type: object
      properties:
        metricType:
          $ref: '#/components/schemas/PerfMetricType'
        limit:
          type: integer
          format: int32
          default: 5
          minimum: 1
          maximum: 25
          description: Limit the number of entities to slice the metric with
      required:
      - metricType
    TopProcessesResponse:
      title: TopProcessesResponse
      properties:
        computeResourceId:
          $ref: '#/components/schemas/ComputeResourceId'
        startTime:
          $ref: '#/components/schemas/MetricStartTime'
        endTime:
          $ref: '#/components/schemas/MetricEndTime'
        metrics:
          type: array
          description: Array containing top processes categorized on metric like CPU, Memory, etc,.
          items:
            $ref: '#/components/schemas/TopProcessesMetric'
    MetricEndTime:
      type: string
      pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{9}Z$
      description: End timestamp in prometheus date-time format
    MonitoringInstanceConnectivity:
      title: MonitoringInstanceConnectivity
      type: object
      properties:
        publicIp:
          type: string
        privateIp:
          type: string
    TopDimensionsAdditionalMetricValue:
      title: TopDimensionsAdditionalMetricValue
      type: object
      properties:
        metricName:
          type: string
          description: Name of the additional metric
        metricValue:
          type: number
          format: double
          description: Value of the metric
    MetricValue:
      title: MetricValue
      type: object
      properties:
        timestamp:
          type: number
          format: double
          description: Timestamp representing the time at which the metric value was recorded
        value:
          type: number
          format: double
          description: The numeric value associated with the metric at the specified timestamp.
      required:
      - timestamp
      - value
    MonitoringFilterBy:
      title: MonitoringFilterBy
      type: object
      properties:
        metricType:
          $ref: '#/components/schemas/PerfMetricType'
        metricValue:
          type: string
          minLength: 1
          description: Value of the metric filter
        metricValueMasked:
          type: boolean
          default: false
          description: Boolean that indicates if the value passed in the filter is masked or not
      required:
      - metricType
      - metricValue
    MonitoringFeatureStatus:
      type: string
      description: Status of the monitoring feature
      enum:
      - ENABLING
      - ENABLED
      - DISABLING
      - DISABLED
      - FAILED_ENABLE
      - FAILED_DISABLE
    MonitoringInstanceInfraInfo:
      title: MonitoringInstanceInfraInfo
      type: object
      properties:
        computeId:
          type: string
          format: uuid
        compute:
          type: string
    ComputeResourceId:
      type: string
      format: uuid
      description: The ID of the Compute Resource.
    cloudType:
      description: Tessell supported cloud types
      type: string
      enum:
      - AWS
      - AZURE
      - GCP
      - OCI
    taskSummary:
      title: taskSummary
      type: object
      properties:
        taskId:
          type: string
          format: uuid
        taskType:
          type: string
        resourceId:
          type: string
          format: uuid
        associatedResourceIds:
          type: array
          items:
            type: string
            format: uuid
        details:
          type: object
          additionalProperties:
            type: string
    TopDimensionSlicedMetricValue:
      title: TopDimensionSlicedMetricValue
      type: object
      properties:
        slicedByEntityName:
          type: string
          description: Name of the sliced entity in the metric distribution.
        value:
          type: number
          format: double
          description: Value of the sliced entity
    PatchMonitoringFeaturePayload:
      title: PatchMonitoringFeaturePayload
      type: object
      required:
      - enable
      properties:
        enable:
          type: boolean
          default: false
    MonitoringDeploymentStatusOps:
      title: MonitoringDeploymentStatusOps
      type: string
      enum:
      - CREATING
      - CREATION_FAILED
      - RUNNING
      - STOPPED
      - DELETING
      - DELETED
      - DELETION_FAILED
    MonitoringDeploymentOpsDTO:
      title: MonitoringDeploymentOpsDTO
      type: object
      allOf:
      - $ref: '#/components/schemas/MonitoringDeploymentCommon'
      properties:
        cloudAccountId:
          type: string
          format: uuid
        connectivity:
          $ref: '#/components/schemas/MonitoringDeploymentConnectivity'
        instances:
          type: array
          items:
            $ref: '#/components/schemas/MonitoringInstanceOpsDTO'
    TopDimensionsPayload:
      title: TopDimensionsPayload
      type: object
      properties:
        serviceId:
          $ref: '#/components/schemas/ServiceId'
        serviceInstanceId:
          $ref: '#/components/schemas/ServiceInstanceId'
        startTime:
          $ref: '#/components/schemas/MetricStartTime'
        endTime:
          $ref: '#/components/schemas/MetricEndTime'
        metricType:
          $ref: '#/components/schemas/PerfMetricType'
        sliceBy:
          $ref: '#/components/schemas/MonitoringSliceBy'
        numTopK:
          $ref: '#/components/schemas/NumTopK'
      required:
      - serviceId
      - serviceInstanceId
      - metricType
      - startTime
      - endTime
    AvgDbLoadPayload:
      title: AvgDbLoadPayload
      type: object
      properties:
        serviceId:
          $ref: '#/components/schemas/ServiceId'
        serviceInstanceId:
          $ref: '#/components/schemas/ServiceInstanceId'
        startTime:
          $ref: '#/components/schemas/MetricStartTime'
        endTime:
          $ref: '#/components/schemas/MetricEndTime'
        sliceBy:
          $ref: '#/components/schemas/MonitoringSliceBy'
        filterBy:
          type: array
          description: Array of filters to filter Avg Db Load
          items:
            $ref: '#/components/schemas/MonitoringFilterBy'
        step:
          type: integer
          format: int32
          default: 1
          minimum: 1
          maximum: 86400
          description: Specifies the frequency at which data points are sampled or aggregated within the specified time range
      required:
      - serviceId
      - serviceInstanceId
      - startTime
      - endTime
    TopDimensionsMetricValue:
      title: TopDimensionsMetricValue
      properties:
        additionalMetrics:
          type: array
          description: Any additional metrics associated with the entity
          items:
            $ref: '#/components/schemas/TopDimensionsAdditionalMetricValue'
        value:
          type: string
          description: Value of the top dimension entity
        metricDistribution:
          type: array
          description: Distribution of Load across different entities as categorized by the specified slice by parameter.
          items:
            $ref: '#/components/schemas/TopDimensionSlicedMetricValue'
      required:
      - value
    MonitoringDeploymentConnectivity:
      title: MonitoringDeploymentConnectivity
      type: object
      properties:
        deploymentId:
          type: string
          format: uuid
        publicIp:
          type: string
        privateIp:
          type: string
    MonitoringInfrasResponse:
      title: MonitoringInfrasResponse
      allOf:
      - $ref: '#/components/schemas/apiResponse'
      - type: object
        properties:
          response:
            type: array
            items:
              $ref: '#/components/schemas/MonitoringInfraDTO'
    MonitoringInstanceOpsDTO:
      title: MonitoringInstanceOpsDTO
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        monitoringDeploymentId:
          type: string
          format: uuid
        computeResourceId:
          $ref: '#/components/schemas/ComputeResourceId'
        vpcId:
          type: string
          format: uuid
        subnetId:
          type: string
          format: uuid
        connectivity:
          $ref: '#/components/schemas/MonitoringInstanceConnectivity'
        infraInfo:
          $ref: '#/components/schemas/MonitoringInstanceInfraInfo'
        subscriptionId:
          type: string
          format: uuid
        deploymentId:
          type: string
          format: uuid
        cloudLocation:
          type: string
        status:
          $ref: '#/components/schemas/MonitoringInstanceStatusOps'
        dateCreated:
          type: string
          format: date-time
        dateModified:
          type: string
          format: date-time
    databaseEngineType:
      description: Database Engine Type
      type: string
      enum:
      - ORACLE
      - POSTGRESQL
      - SQLSERVER
      - MYSQL
      - APACHE_KAFKA
      - MONGODB
      - MILVUS
    ServiceInstanceId:
      type: string
      format: uuid
      description: The ID of the DB Service Instance.
    ComputeResourceMonitoringSummaryResponse:
      title: ComputeResourceMonitoringSummaryResponse
      properties:
        timeDurationForAggregation:
          type: string
          format: int32
          description: Time duration for aggregation
        aggregationType:
          $ref: '#/components/schemas/AggregationType'
        stats:
          type: array
          description: Array of the aggregated metric stats
          items:
            $ref: '#/components/schemas/ComputeResourceMonitoringSummary'
    MonitoringInfraActiveDbServiceDto:
      title: MonitoringInfraActiveDbServiceDto
      type: object
      properties:
        serviceId:
          type: string
          format: uuid
        serviceName:
          type: string
        serviceOwner:
          type: string
        databaseEngineType:
          $ref: '#/components/schemas/databaseEngineType'
    TopDimensionsResponse:
      title: TopDimensionsResponse
      properties:
        serviceId:
          $ref: '#/components/schemas/ServiceId'
        serviceInstanceId:
          $ref: '#/components/schemas/ServiceInstanceId'
        metricType:
          $ref: '#/components/schemas/PerfMetricType'
        startTime:
          $ref: '#/components/schemas/MetricStartTime'
        endTime:
          $ref: '#/components/schemas/MetricEndTime'
        numTopK:
          $ref: '#/components/schemas/NumTopK'
        extendedPerfMetricsAvailable:
          type: boolean
          default: false
          description: Indicates if Extended Perf Metrics are available for the metric values returned in response or not
        sliceBy:
          $ref: '#/components/schemas/MonitoringSliceBy'
        metricValues:
          type: array
          description: Top dimension metric values
          items:
            $ref: '#/components/schemas/TopDimensionsMetricValue'
    PerfMetricType:
      type: string
      description: Type of Performance Metric
      enum:
      - SQL
      - HOST
      - DB
      - USER
      - WAIT
    MonitoringInstanceStatusOps:
      title: MonitoringInstanceStatusOps
      type: string
      enum:
      - CREATING
      - CREATION_FAILED
      - RUNNING
      - STOPPED
      - DELETING
      - DELETED
      - DELETION_FAILED
    apiPaginationInfo:
      title: apiPaginationInfo
      type: object
      properties:
        pageSize:
          type: integer
          format: int32
        pageOffset:
          type: integer
          format: int32
    NumTopK:
      type: integer
      format: int32
      default: 10
      minimum: 1
      maximum: 25
      description: Number of top dimension entities
    TopProcessesMetric:
      title: TopProcessesMetric
      properties:
        metricName:
          type: string
          description: Name of the top process metric.
        displayName:
          type: string
          description: Name of the top process metric, e.g Top CPU Processes, Top Memory Processes
        unit:
          type: string
          description: Unit of the metric values
        metricValues:
          type: array
          description: Array of top processes for a specific metric
          items:
            $ref: '#/components/schemas/TopProcessesMetricValue'
    ServiceId:
      type: string
      format: uuid
      description: The ID of the DB Service.
    apiMetadata:
      title: apiMetadata
      type: object
      properties:
        timeZone:
          type: string
        records:
          type: integer
          format: int32
        pagination:
          $ref: '#/components/schemas/apiPaginationInfo'
    SlicedMetric:
      title: SlicedMetric
      type: object
      properties:
        slicedEntityName:
          type: string
          description: Name of the sliced entity in the metric distribution.
        metricValues:
          type: array
          description: Array containing metric values associated with the sliced entity.
          items:
            $ref: '#/components/schemas/MetricValue'
    AvgDbLoadResponse:
      title: AvgDbLoadResponse
      properties:
        serviceId:
          $ref: '#/components/schemas/ServiceId'
        serviceInstanceId:
          $ref: '#/components/schemas/ServiceInstanceId'
        startTime:
          $ref: '#/components/schemas/MetricStartTime'
        endTime:
          $ref: '#/components/schemas/MetricEndTime'
        sliceBy:
          $ref: '#/components/schemas/MonitoringSliceBy'
        filterBy:
          type: array
          description: Array of filters to filter Avg Db Load
          items:
  

# --- truncated at 32 KB (44 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/tessell/refs/heads/main/openapi/tessell-monitoring-api-openapi.yml