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.26.tar.gz (9.5 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.26-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: windchill-metric-config-0.0.26.tar.gz
  • Upload date:
  • Size: 9.5 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.26.tar.gz
Algorithm Hash digest
SHA256 b1bbf854bb7f526d8d8f99c6aacae5280457f62efcacbbd4fcb2f75ad19be411
MD5 0a172bebe278cf0353bb5e67534ccacc
BLAKE2b-256 922bfaabe3e98f20cb6c8ac6443357606661b9b9e47a503ee25962aafb3d049a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: windchill_metric_config-0.0.26-py3-none-any.whl
  • Upload date:
  • Size: 16.6 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.26-py3-none-any.whl
Algorithm Hash digest
SHA256 45beb179d0fe76043cc19914b308c7b4426cc4c3feed205f3d05ca75cc63d2a7
MD5 104617898071dde4490018792e53c89a
BLAKE2b-256 b5e32a8635b56da3dd78506302656aa752952f480a135da670f4f89fb15abbc2

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