Global Plugins - Declarative Config

Hi, if I wanted to enable prometheus across all plugin in declarative mode, is the recommended approach as follows?

plugins:

  • name: prometheus

when I run

curl localhost:8001/plugins | json_pp

I see following output

  {
     "route" : null,
     "config" : {},
     "tags" : null,
     "run_on" : "first",
     "created_at" : 1558512613,
     "consumer" : null,
     "protocols" : [
        "http",
        "https"
     ],
     "name" : "prometheus",
     "enabled" : true,
     "id" : "aad45641-6d9d-4e93-8f4b-edd547db02d3",
     "service" : null
  }

Yes, this looks correct.