prasadnu commited on
Commit
c572109
·
1 Parent(s): 2625508

ubi integration for agent

Browse files
Files changed (1) hide show
  1. RAG/bedrock_agent.py +1 -1
RAG/bedrock_agent.py CHANGED
@@ -45,7 +45,7 @@ def now_rfc3339():
45
  def send_otel_span(span):
46
  try:
47
 
48
- status = ubi.send_to_lambda(".otel-v1-apm-span-default", span)
49
 
50
  if status == 202:
51
  print("Traces sent to Lambda")
 
45
  def send_otel_span(span):
46
  try:
47
 
48
+ status = ubi.send_to_lambda("otel-v1-apm-span-default", span)
49
 
50
  if status == 202:
51
  print("Traces sent to Lambda")