openc3-cosmos-tool-docs 6.2.0 → 6.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/tools/staticdocs/404.html +1 -1
  3. data/tools/staticdocs/assets/js/019369f3.43fd7635.js +1 -0
  4. data/tools/staticdocs/assets/js/{main.fd11211a.js → main.485b7747.js} +1 -1
  5. data/tools/staticdocs/assets/js/{runtime~main.e660d304.js → runtime~main.61a578da.js} +1 -1
  6. data/tools/staticdocs/docs/configuration/accessors.html +1 -1
  7. data/tools/staticdocs/docs/configuration/command.html +1 -1
  8. data/tools/staticdocs/docs/configuration/format.html +1 -1
  9. data/tools/staticdocs/docs/configuration/interfaces.html +1 -1
  10. data/tools/staticdocs/docs/configuration/plugins.html +1 -1
  11. data/tools/staticdocs/docs/configuration/protocols.html +1 -1
  12. data/tools/staticdocs/docs/configuration/ssl-tls.html +1 -1
  13. data/tools/staticdocs/docs/configuration/table.html +1 -1
  14. data/tools/staticdocs/docs/configuration/target.html +1 -1
  15. data/tools/staticdocs/docs/configuration/telemetry-screens.html +1 -1
  16. data/tools/staticdocs/docs/configuration/telemetry.html +1 -1
  17. data/tools/staticdocs/docs/configuration.html +1 -1
  18. data/tools/staticdocs/docs/development/curl.html +1 -1
  19. data/tools/staticdocs/docs/development/developing.html +1 -1
  20. data/tools/staticdocs/docs/development/json-api.html +1 -1
  21. data/tools/staticdocs/docs/development/log-structure.html +1 -1
  22. data/tools/staticdocs/docs/development/roadmap.html +1 -1
  23. data/tools/staticdocs/docs/development/streaming-api.html +1 -1
  24. data/tools/staticdocs/docs/development/testing.html +1 -1
  25. data/tools/staticdocs/docs/development.html +1 -1
  26. data/tools/staticdocs/docs/getting-started/generators.html +1 -1
  27. data/tools/staticdocs/docs/getting-started/gettingstarted.html +1 -1
  28. data/tools/staticdocs/docs/getting-started/installation.html +1 -1
  29. data/tools/staticdocs/docs/getting-started/key_concepts.html +1 -1
  30. data/tools/staticdocs/docs/getting-started/podman.html +1 -1
  31. data/tools/staticdocs/docs/getting-started/requirements.html +1 -1
  32. data/tools/staticdocs/docs/getting-started/upgrading.html +1 -1
  33. data/tools/staticdocs/docs/getting-started.html +1 -1
  34. data/tools/staticdocs/docs/guides/bridges.html +1 -1
  35. data/tools/staticdocs/docs/guides/cfs.html +1 -1
  36. data/tools/staticdocs/docs/guides/custom-widgets.html +1 -1
  37. data/tools/staticdocs/docs/guides/exposing_microservices.html +1 -1
  38. data/tools/staticdocs/docs/guides/little-endian-bitfields.html +1 -1
  39. data/tools/staticdocs/docs/guides/local-mode.html +1 -1
  40. data/tools/staticdocs/docs/guides/logging.html +1 -1
  41. data/tools/staticdocs/docs/guides/monitoring.html +5 -3
  42. data/tools/staticdocs/docs/guides/performance.html +1 -1
  43. data/tools/staticdocs/docs/guides/raspberrypi.html +1 -1
  44. data/tools/staticdocs/docs/guides/script-writing.html +1 -1
  45. data/tools/staticdocs/docs/guides/scripting-api.html +1 -1
  46. data/tools/staticdocs/docs/guides.html +1 -1
  47. data/tools/staticdocs/docs/meta/contributing.html +1 -1
  48. data/tools/staticdocs/docs/meta/licenses.html +1 -1
  49. data/tools/staticdocs/docs/meta/philosophy.html +1 -1
  50. data/tools/staticdocs/docs/meta/xtce.html +1 -1
  51. data/tools/staticdocs/docs/meta.html +1 -1
  52. data/tools/staticdocs/docs/privacy.html +1 -1
  53. data/tools/staticdocs/docs/tools/admin.html +1 -1
  54. data/tools/staticdocs/docs/tools/autonomic.html +1 -1
  55. data/tools/staticdocs/docs/tools/bucket-explorer.html +1 -1
  56. data/tools/staticdocs/docs/tools/calendar.html +1 -1
  57. data/tools/staticdocs/docs/tools/cmd-sender.html +1 -1
  58. data/tools/staticdocs/docs/tools/cmd-tlm-server.html +1 -1
  59. data/tools/staticdocs/docs/tools/command_history.html +1 -1
  60. data/tools/staticdocs/docs/tools/data-extractor.html +1 -1
  61. data/tools/staticdocs/docs/tools/data-viewer.html +1 -1
  62. data/tools/staticdocs/docs/tools/handbooks.html +1 -1
  63. data/tools/staticdocs/docs/tools/limits-monitor.html +1 -1
  64. data/tools/staticdocs/docs/tools/packet-viewer.html +1 -1
  65. data/tools/staticdocs/docs/tools/script-runner.html +1 -1
  66. data/tools/staticdocs/docs/tools/table-manager.html +1 -1
  67. data/tools/staticdocs/docs/tools/tlm-grapher.html +1 -1
  68. data/tools/staticdocs/docs/tools/tlm-viewer.html +1 -1
  69. data/tools/staticdocs/docs/tools.html +1 -1
  70. data/tools/staticdocs/docs.html +1 -1
  71. data/tools/staticdocs/index.html +1 -1
  72. data/tools/staticdocs/lunr-index-1741317069195.json +1 -0
  73. data/tools/staticdocs/lunr-index.json +1 -1
  74. data/tools/staticdocs/markdown-page.html +1 -1
  75. data/tools/staticdocs/search-doc-1741317069195.json +1 -0
  76. data/tools/staticdocs/search-doc.json +1 -1
  77. metadata +7 -7
  78. data/tools/staticdocs/assets/js/019369f3.1a6a0205.js +0 -1
  79. data/tools/staticdocs/lunr-index-1740870259469.json +0 -1
  80. data/tools/staticdocs/search-doc-1740870259469.json +0 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openc3-cosmos-tool-docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.0
4
+ version: 6.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Melton
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-03-01 00:00:00.000000000 Z
12
+ date: 2025-03-07 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: " This plugin makes the OpenC3 documentation website available as
15
15
  a tool\n"
@@ -213,7 +213,7 @@ files:
213
213
  - tools/staticdocs/assets/images/verticalbox-28fdba6f2c051a499b7f08a1be97edf0297ac9a9ce0dba44f02a7fe1c2616d91.png
214
214
  - tools/staticdocs/assets/images/view_menu-a02cfbd5e6fafa5d3b4f1ae76bfbd63f49388939b4732bf91709f48e44498d19.png
215
215
  - tools/staticdocs/assets/images/width-1a69354459761ea23e4824436ef364124236f9bb96d46a28c97d8ff20d07ab81.png
216
- - tools/staticdocs/assets/js/019369f3.1a6a0205.js
216
+ - tools/staticdocs/assets/js/019369f3.43fd7635.js
217
217
  - tools/staticdocs/assets/js/058ffc22.5cfabd67.js
218
218
  - tools/staticdocs/assets/js/0686a885.0e2ea47d.js
219
219
  - tools/staticdocs/assets/js/078dbab0.5515d5e3.js
@@ -295,8 +295,8 @@ files:
295
295
  - tools/staticdocs/assets/js/ebec1ccb.f938ebaa.js
296
296
  - tools/staticdocs/assets/js/f15615f1.49804e96.js
297
297
  - tools/staticdocs/assets/js/fd886806.124ffe26.js
298
- - tools/staticdocs/assets/js/main.fd11211a.js
299
- - tools/staticdocs/assets/js/runtime~main.e660d304.js
298
+ - tools/staticdocs/assets/js/main.485b7747.js
299
+ - tools/staticdocs/assets/js/runtime~main.61a578da.js
300
300
  - tools/staticdocs/docs.html
301
301
  - tools/staticdocs/docs/configuration.html
302
302
  - tools/staticdocs/docs/configuration/accessors.html
@@ -627,10 +627,10 @@ files:
627
627
  - tools/staticdocs/img/telemetry_viewer/widgets/verticalbox.png
628
628
  - tools/staticdocs/img/telemetry_viewer/widgets/width.png
629
629
  - tools/staticdocs/index.html
630
- - tools/staticdocs/lunr-index-1740870259469.json
630
+ - tools/staticdocs/lunr-index-1741317069195.json
631
631
  - tools/staticdocs/lunr-index.json
632
632
  - tools/staticdocs/markdown-page.html
633
- - tools/staticdocs/search-doc-1740870259469.json
633
+ - tools/staticdocs/search-doc-1741317069195.json
634
634
  - tools/staticdocs/search-doc.json
635
635
  - tools/staticdocs/sitemap.xml
636
636
  homepage: https://github.com/OpenC3/cosmos
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([["4958"],{5927:function(e,n,t){t.r(n),t.d(n,{default:()=>u,frontMatter:()=>i,metadata:()=>o,assets:()=>c,toc:()=>l,contentTitle:()=>a});var o=JSON.parse('{"id":"guides/monitoring","title":"Monitoring","description":"Various ways to monitor COSMOS internals","source":"@site/docs/guides/monitoring.md","sourceDirName":"guides","slug":"/guides/monitoring","permalink":"/tools/staticdocs/docs/guides/monitoring","draft":false,"unlisted":false,"editUrl":"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/guides/monitoring.md","tags":[],"version":"current","frontMatter":{"title":"Monitoring","description":"Various ways to monitor COSMOS internals","sidebar_custom_props":{"myEmoji":"\uD83D\uDDA5\uFE0F"}},"sidebar":"defaultSidebar","previous":{"title":"Logging","permalink":"/tools/staticdocs/docs/guides/logging"},"next":{"title":"Performance","permalink":"/tools/staticdocs/docs/guides/performance"}}'),s=t("2322"),r=t("2840");let i={title:"Monitoring",description:"Various ways to monitor COSMOS internals",sidebar_custom_props:{myEmoji:"\uD83D\uDDA5\uFE0F"}},a=void 0,c={},l=[{value:"Monitoring and observability",id:"monitoring-and-observability",level:3},{value:"Fluent/Fluentd",id:"fluentfluentd",level:3},{value:"Notes",id:"notes",level:4},{value:"OpenDistro",id:"opendistro",level:3},{value:"Notes",id:"notes-1",level:4},{value:"Prometheus",id:"prometheus",level:3},{value:"Notes",id:"notes-2",level:4},{value:"Grafana",id:"grafana",level:3},{value:"Notes",id:"notes-3",level:4}];function d(e){let n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",pre:"pre",ul:"ul",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h3,{id:"monitoring-and-observability",children:"Monitoring and observability"}),"\n",(0,s.jsxs)(n.p,{children:["With moving COSMOS to container based service, we needed a better way to monitor the internals of COSMOS. So here is some information on external services that you can use to monitor COSMOS. If you want to read more about ",(0,s.jsx)(n.a,{href:"https://sre.google/sre-book/monitoring-distributed-systems/",children:"Monitoring Distributed Systems"})]}),"\n",(0,s.jsx)(n.h3,{id:"fluentfluentd",children:(0,s.jsx)(n.a,{href:"https://www.fluentd.org/guides/recipes/docker-logging",children:"Fluent/Fluentd"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsx)(n.p,{children:"Fluentd is an open source data collector, which lets you unify the data collection and consumption for a better use and understanding of data."}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"notes",children:"Notes"}),"\n",(0,s.jsx)(n.p,{children:"in_docker.conf"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"<source>\n @type forward\n port 24224\n bind 0.0.0.0\n</source>\n<match *.metric>\n @type copy\n <store>\n @type elasticsearch\n host openc3-elasticsearch\n port 9200\n logstash_format true\n logstash_prefix metric\n logstash_dateformat %Y%m%d\n include_tag_key true\n type_name access_log\n tag_key @log_name\n flush_interval 1s\n </store>\n <store>\n @type stdout\n </store>\n</match>\n<match *__openc3.log>\n @type copy\n <store>\n @type elasticsearch\n host openc3-elasticsearch\n port 9200\n logstash_format true\n logstash_prefix openc3\n logstash_dateformat %Y%m%d\n include_tag_key true\n type_name access_log\n tag_key @log_name\n flush_interval 1s\n </store>\n <store>\n @type stdout\n </store>\n</match>\n<match *.**>\n @type copy\n <store>\n @type elasticsearch\n host openc3-elasticsearch\n port 9200\n logstash_format true\n logstash_prefix fluentd\n logstash_dateformat %Y%m%d\n include_tag_key true\n type_name access_log\n tag_key @log_name\n flush_interval 1s\n </store>\n <store>\n @type stdout\n </store>\n</match>\n"})}),"\n",(0,s.jsx)(n.p,{children:"Dockerfile"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"FROM fluent/fluentd:v1.10.3-1.0\n\nCOPY ./in_docker.conf /fluentd/etc/fluent.conf\nUSER root\nRUN gem install fluent-plugin-elasticsearch --no-document --version 4.0.7 \\\n && gem install fluent-plugin-prometheus --no-document --version 1.8.5\nUSER fluent\n"})}),"\n",(0,s.jsx)(n.h3,{id:"opendistro",children:(0,s.jsx)(n.a,{href:"https://opendistro.github.io/for-elasticsearch-docs/",children:"OpenDistro"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsx)(n.p,{children:"Open Distro for Elasticsearch provides a powerful, easy-to-use event monitoring and alerting system, enabling you to monitor your data and send notifications automatically to your stakeholders. With an intuitive Kibana interface and powerful API, it is easy to set up and manage alerts."}),"\n"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://opendistro.github.io/for-elasticsearch-docs/docs/install/docker/",children:"Docker"})}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"notes-1",children:"Notes"}),"\n",(0,s.jsx)(n.p,{children:"When testing this I found that depending on how you ingest your logs into the opendistro I found I had to disable security. Here is an example of the docker file."}),"\n",(0,s.jsx)(n.p,{children:"Dockerfile"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"FROM amazon/opendistro-for-elasticsearch:1.12.0\n\nRUN /usr/share/elasticsearch/bin/elasticsearch-plugin remove opendistro_security\n"})}),"\n",(0,s.jsx)(n.h3,{id:"prometheus",children:(0,s.jsx)(n.a,{href:"https://prometheus.io/",children:"Prometheus"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsx)(n.p,{children:"Prometheus scrapes metrics from instrumented jobs, either directly or via an intermediary push gateway for short-lived jobs. It stores all scraped samples locally and runs rules over this data to either aggregate and record new time series from existing data or generate alerts. Grafana or other API consumers can be used to visualize the collected data."}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"notes-2",children:"Notes"}),"\n",(0,s.jsx)(n.p,{children:"prometheus.yaml"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:'global:\n scrape_interval: 15s\n evaluation_interval: 15s\n\nrule_files:\n # - "first.rules"\n # - "second.rules"\n\nscrape_configs:\n - job_name: prometheus\n static_configs:\n - targets: ["localhost:9090"]\n\n - job_name: openc3-internal-metrics\n metrics_path: "/openc3-api/internal/metrics"\n static_configs:\n - targets: ["openc3-cmd-tlm-api:2901"]\n\n - job_name: openc3-cmd-tlm-api\n metrics_path: "/openc3-api/metrics"\n static_configs:\n - targets: ["openc3-cmd-tlm-api:2901"]\n\n - job_name: openc3-script-runner-api\n metrics_path: "/script-api/metrics"\n static_configs:\n - targets: ["openc3-script-runner-api:2902"]\n\n - job_name: minio-job\n metrics_path: /minio/v2/metrics/cluster\n scheme: http\n static_configs:\n - targets: [\'openc3-minio:9000\']\n'})}),"\n",(0,s.jsx)(n.p,{children:"Dockerfile"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"FROM prom/prometheus:v2.24.1\nADD prometheus.yaml /etc/prometheus/\n"})}),"\n",(0,s.jsx)(n.h3,{id:"grafana",children:(0,s.jsx)(n.a,{href:"https://grafana.com/",children:"Grafana"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsx)(n.p,{children:"Grafana is a multi-platform open source analytics and interactive visualization web application. It provides charts, graphs, and alerts for the web when connected to supported data sources."}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"notes-3",children:"Notes"}),"\n",(0,s.jsx)(n.p,{children:"datasource.yaml"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"apiVersion: 1\n\ndatasources:\n - name: Prometheus\n type: prometheus\n # Access mode - proxy (server in the UI) or direct (browser in the UI).\n access: proxy\n url: http://openc3-prometheus:9090\n"})}),"\n",(0,s.jsx)(n.p,{children:"Dockerfile"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"FROM grafana/grafana\n\nCOPY datasource.yaml /etc/grafana/provisioning/datasources/\n"})})]})}function u(e={}){let{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},2840:function(e,n,t){t.d(n,{Z:function(){return a},a:function(){return i}});var o=t(2784);let s={},r=o.createContext(s);function i(e){let n=o.useContext(r);return o.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]);