All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.algolia.client.model.monitoring.Metrics.kt Maven / Gradle / Ivy

Go to download

"Algolia is a powerful search-as-a-service solution, made easy to use with API clients, UI libraries, and pre-built integrations. Algolia API Client for Kotlin lets you easily use the Algolia Search REST API from your JVM project, such as Android or backend implementations."

There is a newer version: 3.10.1
Show newest version
/** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */
package com.algolia.client.model.monitoring

import kotlinx.serialization.*
import kotlinx.serialization.json.*

/**
 * Metrics
 *
 * @param cpuUsage CPU idleness in %.
 * @param ramIndexingUsage RAM used for indexing in MB.
 * @param ramSearchUsage RAM used for search in MB.
 * @param ssdUsage Solid-state disk (SSD) usage expressed as % of RAM.  0% means no SSD usage. A value of 50% indicates 32 GB SSD usage for a machine with 64 RAM.
 * @param avgBuildTime Average build time of the indices in seconds.
 */
@Serializable
public data class Metrics(

  /** CPU idleness in %. */
  @SerialName(value = "cpu_usage") val cpuUsage: Map>? = null,

  /** RAM used for indexing in MB. */
  @SerialName(value = "ram_indexing_usage") val ramIndexingUsage: Map>? = null,

  /** RAM used for search in MB. */
  @SerialName(value = "ram_search_usage") val ramSearchUsage: Map>? = null,

  /** Solid-state disk (SSD) usage expressed as % of RAM.  0% means no SSD usage. A value of 50% indicates 32 GB SSD usage for a machine with 64 RAM.  */
  @SerialName(value = "ssd_usage") val ssdUsage: Map>? = null,

  /** Average build time of the indices in seconds. */
  @SerialName(value = "avg_build_time") val avgBuildTime: Map>? = null,
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy