digma-ai / opentelemetry-instrumentation-digma Goto Github PK
View Code? Open in Web Editor NEWInstrumentation helpers for using Digma and OpenTelemetry to instrument and application for conitnuous feedback
License: MIT License
Instrumentation helpers for using Digma and OpenTelemetry to instrument and application for conitnuous feedback
License: MIT License
Hi,
Thank you for building this library. I tried to use @Instrument decorator in my class and got to a problem that it seems like the decorator tries to push 'self' into static methods args.
Basic example:
@instrument
class Foo:
@staticmethod
def foo():
pass
f = Foo()
f.foo()
Returns:
TypeError: foo() takes 0 positional arguments but 1 was given
Any suggestions?
I was interested in using the decorator you have built for tracing, but this package bundles a hardcoded opentelemetry version (1.12.0) that is old and contains bugs that have been fixed.
In order to avoid conflicts with different customer configurations, Digma should use its own deployment attribute
"digma.environment"
please note that the backend already supports it
need to issue a new version of the instrumentation and update our samples
Modify the exporter code to include two optional environment variables if they exist:
Hello,
I have a project full of opentracing/ opentelemetry span. I was looking on how to implement decorators and found your excelent article @doppleware
Since I have a lot of rework for moving opentracing -> opentelemetry, I wonder if I can do a step by step with this implementation.
And why not using Digma when I have some times.
regards
Write custom formatter
for traceback that looks at the _locals and more intelligently decides what to do instead of automatically converting to string.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.