Zhi Yan Liu f7b2be6d08 Add profiling support to Zaqar client
To be able to create profiling traces for Zaqar, client should be
able to send special HTTP header that contains trace info. This
patch is as well important to be able to make cross project traces.
(Typical case end user calls Zaqar via OpenStack python client,
if profiler is initialized, Zaqar client will add extra header,
that will be parsed by special osprofiler middleware at server side)

Don't worry no security issue here, trace information is signed
by HMAC key that is setted in config file at server side. So only
person that knows HMAC key is able to send proper header.

Zaqar server patch is: I32565de6c447cd5e95a0ef54a9fbd4e571c2d820

Currently there are some projects are using osprofiler, like Glance,
Cinder, Heat, and some others are working in progress, e.g. Trove.

Implements: blueprint osprofiler
Change-Id: I880c003511e9e4ef99806ba5b19d0ef6996be80b
Co-Authored-By: wangxiyuan <wangxiyuan@huawei.com>
2016-11-16 06:38:22 +00:00
2016-04-27 09:12:35 -05:00
2015-08-27 13:19:58 +02:00
2013-07-16 17:59:28 -04:00
2014-08-04 16:55:10 +02:00
2013-05-07 17:09:55 +02:00
2015-10-15 18:39:34 +08:00
2016-07-19 08:43:24 -04:00
2015-09-17 12:17:09 +00:00
2016-03-10 09:26:33 +13:00

Python Zaqar Client

Latest Version

Downloads

version

0.1.0

Wiki

Zaqar Wiki

Launchpad

Zaqar Launchpad

Review

Code Review

Design

Client Wiki

IRC

#openstack-zaqar @ freenode

Welcome to the Zaqar Python Client project!

Table of Contents

Installation

The latest stable release can be installed from PyPI:

pip install --upgrade python-zaqarclient

For the adventurous, you may also install the latest code directly from GitHub:

pip install git+https://github.com/openstack/python-zaqarclient.git

What's in the box

By installing python-zaqarclient you get programmatic access to the Zaqar v1.0 API library. Plus, it installs a plugin to python-openstackclient that allows you to perform simple queue operations.

How to use

Python client

Details about design, features, usage and workflow can be found in the Python Client Wiki.

Command line interface

Zaqar bases its client implementation in the OpenStack Client. It can be installed and configured by following the instructions in Getting Started and Configuration in the OpenStack Client readme respectively.

The CLI currently allows creation, removal and listing of queues. Some examples are:

$  openstack queue list --limit 3
$  openstack queue create myqueue
$  openstack queue delete myqueue

Contributing

Be sure to reference the HACKING file for details on coding style. You may also wish to read through Zaqar's Contributor Guide before contributing your first patch.

  • License: Apache License, Version 2.0
  • PyPi - package installation
  • Bugs - issue tracking
  • Source
Description
OpenStack Messaging (Zaqar) Client
Readme 6.8 MiB
Languages
Python 100%