Skip to main content

Config reader for mimamorisan

Project description

Windchill Metric Config

Configuration parser for windchill prometheus metrics. Parses json and yaml configuration files into a Python object.

yaml

system:
  process_real_memory_total_bytes: true                                         # system total memory in bytes
  process_real_memory_used_bytes: false                                         # system used memory in bytes
  process_cpu_usage_percent: false                                              # cpu utilisation in percent
  process_disc_total_bytes: false                                               # total disc space in bytes
  process_disc_used_bytes: false                                                # used disc space in bytes
  process_users_total_count: false                                              # count of logged in users on os
  system_boot_timestamp: false                                                  # boot timestamp as label
  system_stats_info: false                                                      # various information about the host system, like os version or processor info
  network:
    process_network_bytes_sent: false                                           # bytes sent over all network addresses
    process_network_packets_recv: false                                         # bytes received over all network addresses
    process_network_err_in: false                                               # total number of errors while receiving
    process_network_err_out: false                                              # total number of errors while sending
    process_network_drop_in: true                                               # total number of incoming packets which were dropped
    process_network_drop_out: false                                             # total number of outgoing packets which were dropped (always 0 on macOS and BSD)
windchill:
  windchill_apache_status: false                                                # windchill apache status (0=not running, >1=http code)
  windchill_windchill_status: false                                             # windchill app status (0=not running, >1=http code)
  windchill_api_response_time_seconds: false                                    # windchill api (/Windchill/api/v1/publishmonitor/getworkerinfo.jsp) response time
  windchill_active_users_total: false                                           # windchill total active users count
  windchill_version_info: false                                                 # windchill version and release info
  method_server:
    windchill_server_status_runtime_start_time: false                           # windchill apache status (0=not running, >1=http code)
    windchill_server_status_runtime_uptime: false                               # windchill apache status (0=not running, >1=http code)
  queue_worker:
    windchill_worker_status: false                                              # windchill worker status (0=not running, 1=ok, 2=fails to start)
    windchill_queue_jobs_failed: false                                          # windchill failed jobs queue count
    windchill_queue_jobs_total: false                                           # windchill total jobs queue count
  garbage_collector:
    windchill_server_status_gc_time_spent_in_threshold_percent: false           # Garbage collection time spent in threshold percent
    windchill_server_status_gc_recent_time_spent_percent: false                 # Garbage collection time spent recent percent
    windchill_server_status_gc_overall_time_spent_percent: false                # Garbage collection time spent overall percent
  memory:
    windchill_server_status_memory_heap_usage_threshold_percent: false          # Heap memory usage threshold in percent
    windchill_server_status_memory_heap_usage_percent: false                    # Heap memory usage in percent
    windchill_server_status_memory_perm_gen_usage_threshold_percent: false      # Perm gen memory usage threshold in percent
    windchill_server_status_memory_perm_gen_usage_percent: false                # Perm gen memory usage in percent
  method_context:
    windchill_server_status_mc_active_contexts_average: false                   # active context average
    windchill_server_status_mc_active_contexts_end: false
    windchill_server_status_mc_active_contexts_max: false
    windchill_server_status_mc_active_contexts_start: false

upload to pypi.org

py -m build
py -m twine upload --repository pypi dist/*

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

windchill-metric-config-0.0.22.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

windchill_metric_config-0.0.22-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file windchill-metric-config-0.0.22.tar.gz.

File metadata

  • Download URL: windchill-metric-config-0.0.22.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for windchill-metric-config-0.0.22.tar.gz
Algorithm Hash digest
SHA256 9e358557ed92f392a93822ba5c5b7cc9552812dbf34814fc7f312d66121d5016
MD5 84d287e24842a3e850564d6007771f78
BLAKE2b-256 3a46c31496d2f21b6096122532e6b468d36c8ae6a071107574c785ff087ed3c6

See more details on using hashes here.

File details

Details for the file windchill_metric_config-0.0.22-py3-none-any.whl.

File metadata

  • Download URL: windchill_metric_config-0.0.22-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for windchill_metric_config-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 4b61848b44db0cb8cf9ebbe87402cd51206a1b76cf45ad313d08fb6849ab1260
MD5 0c9a51e2f5c65a71774a5186c81936c2
BLAKE2b-256 9b9e039f78cfe99883efd14c196aa2f6e69a444251446b6d983471e1032b9a63

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