Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
luismiramirez committed Jun 18, 2024
1 parent 730aef0 commit 97093f2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/appsignal/opentelemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ def add_mysqlclient_instrumentation() -> None:
MySQLClientInstrumentor().instrument()


def add_pika_instrumentation() -> None:
from opentelemetry.instrumentation.pika import PikaInstrumentor

PikaInstrumentor().instrument()


def add_psycopg2_instrumentation() -> None:
from opentelemetry.instrumentation.psycopg2 import Psycopg2Instrumentor

Expand Down Expand Up @@ -158,6 +164,7 @@ def add_sqlite3_instrumentation() -> None:
"opentelemetry.instrumentation.jinja2": add_jinja2_instrumentation,
"opentelemetry.instrumentation.mysql": add_mysql_instrumentation,
"opentelemetry.instrumentation.mysqlclient": add_mysqlclient_instrumentation,
"opentelemetry.instrumentation.pika": add_pika_instrumentation,
"opentelemetry.instrumentation.psycopg2": add_psycopg2_instrumentation,
"opentelemetry.instrumentation.psycopg": add_psycopg_instrumentation,
"opentelemetry.instrumentation.pymysql": add_pymysql_instrumentation,
Expand Down

0 comments on commit 97093f2

Please sign in to comment.