Skip to content

Commit fdcd80d

Browse files
authored
Improve remoulade instrumentation example (#3391)
1 parent ff18e7c commit fdcd80d

File tree

1 file changed

+2
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-remoulade/src/opentelemetry/instrumentation/remoulade

1 file changed

+2
-1
lines changed

instrumentation/opentelemetry-instrumentation-remoulade/src/opentelemetry/instrumentation/remoulade/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
2929
from remoulade.brokers.rabbitmq import RabbitmqBroker
3030
import remoulade
31+
from opentelemetry.instrumentation.remoulade import RemouladeInstrumentor
3132
3233
RemouladeInstrumentor().instrument()
3334
@@ -38,7 +39,7 @@
3839
def multiply(x, y):
3940
return x * y
4041
41-
broker.declare_actor(count_words)
42+
broker.declare_actor(multiply)
4243
4344
multiply.send(43, 51)
4445

0 commit comments

Comments
 (0)