add pika to docs (#1540)
This commit is contained in:
		
							parent
							
								
									426d641590
								
							
						
					
					
						commit
						ddbc40f907
					
				|  | @ -29,6 +29,7 @@ falcon~=2.0 | |||
| grpcio~=1.27 | ||||
| mysql-connector-python~=8.0 | ||||
| psutil>=5 | ||||
| pika>=0.12.0 | ||||
| pymongo~=3.1 | ||||
| PyMySQL~=0.9.3 | ||||
| pyramid>=1.7 | ||||
|  |  | |||
|  | @ -0,0 +1,7 @@ | |||
| OpenTelemetry Pika Instrumentation | ||||
| ===================================== | ||||
| 
 | ||||
| .. automodule:: opentelemetry.instrumentation.pika | ||||
|     :members: | ||||
|     :undoc-members: | ||||
|     :show-inheritance: | ||||
|  | @ -12,7 +12,7 @@ | |||
| # See the License for the specific language governing permissions and | ||||
| # limitations under the License. | ||||
| """ | ||||
| Instrument `pika` to trace RabbitMQ applications. | ||||
| Instrument pika to trace RabbitMQ applications. | ||||
| 
 | ||||
| Usage | ||||
| ----- | ||||
|  | @ -63,7 +63,7 @@ Usage | |||
|     PikaInstrumentor.instrument_channel(channel, tracer_provider=tracer_provider) | ||||
| 
 | ||||
| * PikaInstrumentor also supports instrumenting with hooks that will be called when producing or consuming a message. | ||||
|   The hooks should be of type `Callable[[Span, bytes, BasicProperties], None]` | ||||
|   The hooks should be of type "Callable[[Span, bytes, BasicProperties], None]" | ||||
|   where the first parameter is the span, the second parameter is the message body | ||||
|   and the third parameter is the message properties | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue