= json_api
:type: metrics
:status: stable



////
     THIS FILE IS AUTOGENERATED!

     To make changes, edit the corresponding source file under:

     https://github.com/redpanda-data/connect/tree/main/internal/impl/<provider>.

     And:

     https://github.com/redpanda-data/connect/tree/main/cmd/tools/docs_gen/templates/plugin.adoc.tmpl
////

// © 2024 Redpanda Data Inc.


component_type_dropdown::[]


Serves metrics as JSON object with the service wide HTTP service at the endpoints `/stats` and `/metrics`.

```yml
# Config fields, showing default values
metrics:
  json_api: {}
  mapping: ""
```

This metrics type is useful for debugging as it provides a human readable format that you can parse with tools such as `jq`


