Search 1.9 billion lines of Odoo code on GitHub

monitoring_log_requests

Author: Camptocamp,Numigi,Odoo Community Association (OCA)
License: AGPL-3
Branch: mig14_logging_json
Repository: p-tombez/odoo-cloud-platform
Dependencies: base, and web
Languages: Python (78, 100.0%)
Other branches: 10.0, 10.0-anon_redis_session, 10.0-keystoneauth_v3, 10.0-s3_boto3, 10.0_fix_container_pattern, 11.0, 11.0-anon_redis_session, 11.0-keystoneauth_v3, 11.0-s3_boto3, 11.0_fix_container_pattern, 12.0, 12.0-anon_redis_session, 12.0-fix_s3_name_check, 12.0-keystoneauth_v3, 12.0_fix_container_pattern, 13.0-add_cloud_platform_azure, 13.0-allow-multiple-containers, 13.0-anon_redis_session, 13.0-fix_redis_checks, 13.0-imp_cloud_platform, 13.0_fix_container_pattern, 14.0_fix_container_pattern, 14.0_imp_attachment_azure, 15.0_fix_container_pattern, 9.0, 9.0-anon_redis_session, 9.0-keystoneauth_v3, 9.0-s3_boto3, backport_attachment_azure, fix_base64, fix_s3_name_check, merge-branch-1305-master, merge-branch-1955-12.0-04330cea, merge-branch-1955-12.0-b19bf503, merge-branch-1955-13_initialize_branch_v12-06a09553, merge-branch-2176-11.0.0, merge-branch-2176-11.0.1, merge-branch-2176-11.0.3, merge-branch-2176-11.1.0, merge-branch-2176-11.2.0, merge-branch-2176-master, merge-branch-2221-fix-swift-14021d9d, merge-branch-2221-ovh-56-qty-received-scenario-8d7505aa, merge-branch-2221-update_submodules_for_travis-9fd09271, merge-branch-2258-12.1.1, merge-branch-2258-12.1.2, merge-branch-2258-add_odoo_cloud_platform-3acc3ca7, merge-branch-2258-master, merge-branch-2477-12.0.0.1.0, merge-branch-2477-12.0.1.0.0, merge-branch-2477-12.0.1.1.0, merge-branch-2477-12.0.1.2.0, merge-branch-2477-12.0.1.2.1, merge-branch-2477-master-266b01e9, merge-branch-2543-add-base_fileurl_field-2cd8af10, merge-branch-2543-bsrd-199_update_odoo_cloud_platform-86233f82, merge-branch-2543-bssmb-25_web_url_fields_s3-188365c5, merge-branch-2543-bssmb-25_web_url_fields_s3-2fe4a35d, merge-branch-2543-bssmb-25_web_url_fields_s3-758bda9d, merge-branch-2543-bssmb-25_web_url_fields_s3-830e055f, merge-branch-2543-bssmb-25_web_url_fields_s3-d89c01bb, merge-branch-2543-mig-base_webdb-4436c761, merge-branch-559-gste-44-89edcceb, merge-branch-559-gste-44-b88ff338, mig14_attachments, mig14_base, mig14_meta_modules, mig14_monitoring_log_requests, mig14_monitoring_statsd, mig14_monitoring_status, mig14_session_redis, and requests_log_imp
Other repositories: ERPLibre/odoo-cloud-platform, GSLabIt/odoo-cloud-platform, MjAbuz/odoo-cloud-platform, NCS-75/odoo-cloud-platform, PCatinean/odoo-cloud-platform, RL-OtherApps/odoo-cloud-platform, TelmoSenseFly/odoo-cloud-platform, Tonow-c2c/odoo-cloud-platform, Wiserby/odoo-cloud-platform, acarmisc/odoo-cloud-platform, acsone/odoo-cloud-platform, agrista/odoo-cloud-platform, akretion/odoo-cloud-platform, ap-wtioit/odoo-cloud-platform, asiellb/odoo-cloud-platform, avoinsystems/odoo-cloud-platform, camptocamp/odoo-cloud-platform, celm1990/odoo-cloud-platform, cialuo/odoo-cloud-platform, difra/odoo-cloud-platform, exosoftware/c2c-odoo-cloud-platform, grindtildeath/odoo-cloud-platform, guewen/odoo-cloud-platform, gurneyalex/odoo-cloud-platform, hibou-io/camptocamp-cloud-platform, ircodoo/odoo-cloud-platform, itsalgeria/odoo-cloud-platform, junariltd/odoo-cloud-platform, leemannd/odoo-cloud-platform, loftwah/odoo-cloud-platform, modoolar/odoo-cloud-platform, mohamed-helmy/odoo-cloud-platform, mudismud/odoo-cloud-platform, oondeo/odoo-cloud-platform, pasgou/odoo-cloud-platform, paulpwo/odoo-cloud-platform, royalline1/odoo-cloud-platform, sadeqamin/odoo-cloud-platform, sbidoul/odoo-cloud-platform, sebalix/odoo-cloud-platform, sebastienbeau/odoo-cloud-platform, simahawk/odoo-cloud-platform, sm2x/odoo-cloud-platform, smussie/odoo-cloud-platform, suningwz/odoo-cloud-platform, tate11/odoo-cloud-platform, tirix/odoo-cloud-platform, tschanzt/odoo-cloud-platform, ursais/odoo-cloud-platform-1, vidtsin/odoo-cloud-platform, vrenaville/odoo-cloud-platform, wahello/odoo-cloud-platform, xuanox/odoo-cloud-platform, yvaucher/odoo-cloud-platform, and zakiuu/odoo-cloud-platform

<img alt="License" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> <a name="monitoring-requests-logging"></a> <h2>Monitoring: Requests Logging</h2> <p>This addon is used to output in the logs informations about the user's requests. Data such as <em>what</em> is the request, <em>who</em> requested it and <em>how much</em> time did it took to complete could then be extracted from the logs and loaded in an analysis tool such as ElasticSearch/Kibana.</p> <p>Each log line is a JSON with the monitored fields, so it is easier to parse.</p> <p>The logs are prefixed with <code>monitoring.http.requests</code> so be sure to enable this path in the log handler:</p> <pre> <code>- LOG_HANDLER=&quot;:WARNING,monitoring.http.requests:INFO&quot;</code> </pre>