1Password API
  1. Metrics
1Password API
  • auth
    • Performs introspection of the provided Bearer JWT token
      GET
  • api-v1
    • Retrieves item usages
      POST
    • Retrieves sign-in attempts
      POST
  • Activity
    • Retrieve a list of API Requests that have been made.
      GET
  • Vaults
    • Get all Vaults
      GET
    • Get Vault details and metadata
      GET
  • Items
    • Get all items for inside a Vault
      GET
    • Create a new Item
      POST
    • Get the details of an Item
      GET
    • Update an Item
      PUT
    • Delete an Item
      DELETE
    • Update a subset of Item attributes
      PATCH
  • Files
    • Get all the files inside an Item
      GET
    • Get the content of a File
      GET
    • Get the details of a File
      GET
  • Health
    • Ping the server for liveness
      GET
    • Get state of the server and its dependencies.
      GET
  • Metrics
    • Query server for exposed Prometheus metrics
      GET
  1. Metrics

Query server for exposed Prometheus metrics

GET
/metrics
Metrics
See Prometheus documentation for a complete data model.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://localhost:8080/v1/metrics'

请求参数

无

返回响应

🟢200成功
text/plain
Successfully returned Prometheus metrics
Body
string 
可选
示例值:
# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles. # TYPE go_gc_duration_seconds summary go_gc_duration_seconds{quantile="0"} 2.9153e-05 go_gc_duration_seconds{quantile="0.25"} 6.2832e-05 go_gc_duration_seconds{quantile="0.5"} 9.7187e-05 go_gc_duration_seconds{quantile="0.75"} 0.000112967 go_gc_duration_seconds{quantile="1"} 0.000215819 go_gc_duration_seconds_sum 0.001376862 go_gc_duration_seconds_count 14

【1Password】API开发者 微信交流群

用微信扫右侧二维码,加入【1Password】API开发者 交流群,互助沟通

扫码加入交流群
上一页
Get state of the server and its dependencies.
Built with