metric-schema.metrics.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of okhttp-clients Show documentation
Show all versions of okhttp-clients Show documentation
Palantir open source project
The newest version!
[{"namespaces":{"conjure-java-client.qos":{"docs":"Conjure okhttp client quality of service metrics.","metrics":{"request-permit.slow-acquire":{"type":"TIMER","docs":"Timer representing how long it takes to acquire ConcurrencyLimiter permits. (<1ms acquisitions are considered successful, so not included in this 'slow-acquire' timer).\n\nOkHttpClients acquire a ConcurrencyLimiter permit (scoped to each particular endpoint) to constrain the number of in-flight requests if the server is overloaded.\nAny acquire that takes less than a millisecond is considered to be successful - this 'slow-acquire' timer measures any that take longer than a millisecond,\nindicating that conjure-java-runtime is trying to avoid overloading a server.\n\nSee https://github.com/palantir/conjure-java-runtime#quality-of-service-retry-failover-throttling-backpressure\n"},"request-permit.leak-suspected":{"type":"METER","docs":"Meter indicating a client timed out waiting for a ConcurrencyLimiter permit, so the limiter was reset to avoid infinite waiting.\nAn associated WARN log line includes detailed information about the serviceClass, hostname, method, pathTemplate and timeout.\n"},"request-permit.slow-acquire-tagged":{"type":"TIMER","tagDefinitions":[{"name":"serviceClass"}],"docs":"Per serviceClass timer representing how long it takes to acquire ConcurrencyLimiter permits. (<1ms acquisitions are considered successful, so not included in this 'slow-acquire' timer).\n\nOkHttpClients acquire a ConcurrencyLimiter permit (scoped to each particular endpoint) to constrain the number of in-flight requests if the server is overloaded.\nAny acquire that takes less than a millisecond is considered to be successful - this 'slow-acquire' timer measures any that take longer than a millisecond,\nindicating that conjure-java-runtime is trying to avoid overloading a server.\n\nSee https://github.com/palantir/conjure-java-runtime#quality-of-service-retry-failover-throttling-backpressure\n"}}},"client":{"docs":"Conjure okhttp client response metrics.","metrics":{"response":{"type":"TIMER","tagDefinitions":[{"name":"service-name"}],"docs":"Request time, note that this does not include time spent reading the response body."},"response.error":{"type":"METER","tagDefinitions":[{"name":"reason"},{"name":"service-name"}],"docs":"Rate of errors received by reason and service-name. Currently only errors with reason `IOException` are reported."},"deprecations":{"type":"METER","tagDefinitions":[{"name":"service-name"}],"docs":"Rate of deprecated endpoints being invoked."}}},"com.palantir.conjure.java":{"shortName":"Okhttp","docs":"Conjure okhttp client metrics.","metrics":{"dispatcher.calls.queued":{"type":"GAUGE","docs":"Reports the number of queued outgoing requests."},"dispatcher.calls.running":{"type":"GAUGE","docs":"Reports the number of active outgoing requests."},"connection-pool.connections.total":{"type":"GAUGE","docs":"Total number of connections in the connection pool."},"connection-pool.connections.idle":{"type":"GAUGE","docs":"Number of idle connections in the connection pool."}}}},"options":{"javaPackage":"com.palantir.conjure.java.okhttp","javaVisibility":"packagePrivate"}}]