# Install only qan packages

**URL:** <https://forums.percona.com/t/install-only-qan-packages/5713>\
**Category:** PMM 1.x\
**Created:** [July 4, 2017, 8:29am UTC](https://forums.percona.com/t/install-only-qan-packages/5713 "2017-07-04T08:29:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antonio\_Falzarano](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/antonio_falzarano/32/1177_2.png) [@Antonio\_Falzarano](https://forums.percona.com/u/Antonio_Falzarano)\
**Post date:** [July 4, 2017, 8:29am UTC](https://forums.percona.com/t/install-only-qan-packages/5713/1 "2017-07-04T08:29:50Z")

</div>

Hi,  
i already use prometheus and mysql exporter with percona app plugin for grafana.  
I don’t want another prometheus shipped with PMM but I want to use qan too, so it is possible to install only QAN part of PMM ? how i can do this?

Thank you everyone

---

<div class="post-metadata">

**Author:** ![Mykola](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mykola/32/30_2.png) [@Mykola](https://forums.percona.com/u/Mykola)\
**Post date:** [July 4, 2017, 9:06am UTC](https://forums.percona.com/t/install-only-qan-packages/5713/2 "2017-07-04T09:06:11Z")

</div>

Hi [Antonio Falzarano](https://percona.vanillacommunities.com/profile/x/x/39559) ,

About PMM Server:  
It is possible, you have two ways: [LIST=1]  
[_]install everything manually. it is really not a trivial task.  
you can find components on [url][Percona Monitoring and Management](https://www.percona.com/doc/percona-monitoring-and-management/architecture.html%5B/url%5D) page.  
repositories of all components are located on GitHub - [url][https://github.com/percona/[/url]](https://github.com/percona/%5B/url%5D)  
useful PMM Server setup information can be found in Ansible scripts  
[url][https://github.com/percona/pmm-server/blob/master/playbook-init.yml[/url]](https://github.com/percona/pmm-server/blob/master/playbook-init.yml%5B/url%5D)  
[url][https://github.com/percona/pmm-server/blob/master/playbook-install.yml[/url]](https://github.com/percona/pmm-server/blob/master/playbook-install.yml%5B/url%5D)  
It is the totally unsupported way!  
[_]you can start PMM Server as usual (as docker container) and use only QAN functionality (see below).  
[/LIST]About PMM Client:  
pmm-admin tool supports the possibility to add QAN and Metrics independently.  
So it is possible to add only QAN monitoring without exporters.  
just use  
{code}sudo pmm-admin add mysql:queries{code}  
instead of  
{code}sudo pmm-admin add mysql{code}

anyway, keep in mind that percona exporters have SSL and Authentification support, this is not supported in original prometheus exporters (see [url][https://www.robustperception.io/prometheus-security-authentication-authorization-and-encryption/[/url]](https://www.robustperception.io/prometheus-security-authentication-authorization-and-encryption/%5B/url%5D))  
also, percona/mysqld\_exporter smarter that original, we have three different targets for high, medium and low resolution metrics, because internal database performance debug requires high-resolution for some metrics.

---

<div class="post-metadata">

**Author:** ![Antonio\_Falzarano](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/antonio_falzarano/32/1177_2.png) [@Antonio\_Falzarano](https://forums.percona.com/u/Antonio_Falzarano)\
**Post date:** [July 4, 2017, 9:34am UTC](https://forums.percona.com/t/install-only-qan-packages/5713/3 "2017-07-04T09:34:26Z")

</div>

Hi [Mykola](https://percona.vanillacommunities.com/profile/x/x/30783) , thank you , i look into this informations.  
About different resolution metrics there is some documentation that can i read, to understand differences with original mysql\_exporter?

---

<div class="post-metadata">

**Author:** ![Mykola](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mykola/32/30_2.png) [@Mykola](https://forums.percona.com/u/Mykola)\
**Post date:** [July 5, 2017, 7:51am UTC](https://forums.percona.com/t/install-only-qan-packages/5713/4 "2017-07-05T07:51:47Z")

</div>

All Percona code is publically available, so if you want you can diff changes between [percona/mysqld\_exporter](https://github.com/percona/mysqld_exporter) and [prometheus/mysqld\_exporter](https://github.com/prometheus/mysqld_exporter/) repositories.

Anyway, his part is not well documented yet, so I created a ticket - [PMM-1162](https://jira.percona.com/browse/PMM-1162), it is publicly visible and you can register in our Jira and add self to the watcher list or vote for this ticket or write any suggestions 🙂

---

<div class="post-metadata">

**Author:** ![Antonio\_Falzarano](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/antonio_falzarano/32/1177_2.png) [@Antonio\_Falzarano](https://forums.percona.com/u/Antonio_Falzarano)\
**Post date:** [August 30, 2017, 2:31am UTC](https://forums.percona.com/t/install-only-qan-packages/5713/5 "2017-08-30T02:31:03Z")

</div>

Thank you Mykola, it seems that PMM-1162 is not a public ticket, i miss something?

 ![photoid=49495](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/2/2ead2f5e7acdc9b6cbdd80917d9b615ce625bb82.png)

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [August 30, 2017, 8:58pm UTC](https://forums.percona.com/t/install-only-qan-packages/5713/6 "2017-08-30T20:58:51Z")

</div>

Hi [Antonio Falzarano](https://percona.vanillacommunities.com/profile/x/x/39559) , I’ve just configured the security settings for that issue, it should now load correctly. [url][[PMM-1407] Document differences between upstream and percona exporters - Percona JIRA](https://jira.percona.com/browse/PMM-1407%5B/url%5D)
