Skip to main content

OpenTelemetry instrumentation for FMPy

Project description

OpenTelemetry FMPy Instrumentation

pypi python

OpenTelemetry instrumentation for FMPy, providing distributed tracing and observability for Functional Mock-up Unit (FMU) simulations.

Installation

uv add opentelemetry-instrumentation-fmpy

Usage

Programmatic Instrumentation

from opentelemetry.instrumentation.fmpy import FmpyInstrumentor

# Enable instrumentation
FmpyInstrumentor().instrument()

import fmpy
# FMU operations are now traced automatically
result = fmpy.simulate_fmu("model.fmu", stop_time=10.0)

# Disable instrumentation
FmpyInstrumentor().uninstrument()

Development

Requirements

  • Python 3.8+
  • uv (for development)

Citation

If you use this repository in your research or publications, please cite it using the following BibTeX entry:

@misc{opentelemetry-instrumentation-fmpy,
  author       = {Christoffer Björkskog},
  title        = {OpenTelemetry Instrumentation for FMPy},
  year         = {2025},
  howpublished = {\url{https://github.com/Novia-RDI-Seafaring/opentelemetry-instrumentation-fmpy}},
  note         = {Contact: christoffer.bjorkskog@novia.fi},
  institution  = {Novia University of Applied Sciences}
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opentelemetry_instrumentation_fmpy-0.1.2.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file opentelemetry_instrumentation_fmpy-0.1.2.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_fmpy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 097126041ba56313ef9672feb08f5713fb26656c1b311fb8ddf2af979c549121
MD5 1a404e7e999f6c93ef0b2826bff9b592
BLAKE2b-256 c0c3fe627475beb78823983ede5d061814c5231932104570671f274a0dc83107

See more details on using hashes here.

File details

Details for the file opentelemetry_instrumentation_fmpy-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_fmpy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b87023358015b53f3970c58fe920320bd6198ff5f4642e1be7268e5a985f38b1
MD5 9674e974a56c4c96645c46864e57c651
BLAKE2b-256 677aa48e198b0fc026de0aba6335c5abd5907dc238d136557bcd7b13c53055f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page