Skip to main content

Exports Resoto metrics in Prometheus format.

Project description

resotoappbundler / resotoapprunner

Resoto Infrastructure Apps Bundler and Runner

Table of contents

Overview

resotoappbundler Bundles Resoto Infrastructure Apps.

resotoapprunner Dry runs Resoto Infrastructure Apps.

Check the Resoto Infrastructure Apps repo for details.

Usage of resotoappbundler

resotoappbundler --path resoto-apps/ --discover > index.json

This command discovers all apps in the current directory and writes the index to index.json. This file can then be uploaded to a http server like a CDN and used as an app index in Resoto.

usage: resotoappbundler [-h] [--machine-help] [--verbose | --trace | --quiet] --path APP_PATH [--discover]

Resoto Infrastructure Apps Bundler

options:
  -h, --help            show this help message and exit
  --machine-help        print machine readable help
  --verbose, -v         Verbose logging
  --trace               Trage logging
  --quiet               Only log errors
  --path APP_PATH, -p APP_PATH
                        Path to app bundle(s)
  --discover            Find all apps in the path

Usage of resotoapprunner

resotoapprunner --path resoto-apps/tagvalidator/ --psk changeme --resotocore-uri https://localhost:8900

Note: Resoto Core is only required for apps that make use of the search() function.

usage: resotoapprunner [-h] [--machine-help] [--verbose | --trace | --quiet] --path APP_PATH [--ca-cert CA_CERT] [--cert CERT] [--cert-key CERT_KEY] [--cert-key-pass CERT_KEY_PASS]
                       [--no-verify-certs] [--resotocore-uri RESOTOCORE_URI] [--psk PSK] [--config CONFIG_PATH] [--subscriber-id SUBSCRIBER_ID]

Resoto Infrastructure Apps Runner

options:
  -h, --help            show this help message and exit
  --machine-help        print machine readable help
  --verbose, -v         Verbose logging
  --trace               Trage logging
  --quiet               Only log errors
  --path APP_PATH, -p APP_PATH
                        Path to app bundle(s)
  --ca-cert CA_CERT     Path to custom CA certificate file
  --cert CERT           Path to custom certificate file
  --cert-key CERT_KEY   Path to custom certificate key file
  --cert-key-pass CERT_KEY_PASS
                        Passphrase for certificate key file
  --no-verify-certs     Turn off certificate verification
  --resotocore-uri RESOTOCORE_URI
                        resotocore URI (default: https://localhost:8900)
  --psk PSK             Pre-shared key
  --config CONFIG_PATH  Path to app config
  --subscriber-id SUBSCRIBER_ID
                        Unique subscriber ID (default: resotoappbundler)```

Contact

If you have any questions feel free to join our Discord or open a GitHub issue.

License

Copyright 2023 Some Engineering Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

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

resotoappbundler-0.4.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

resotoappbundler-0.4.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file resotoappbundler-0.4.0.tar.gz.

File metadata

  • Download URL: resotoappbundler-0.4.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for resotoappbundler-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9ba73cb38d2c7c328d404fd00dc72284f215776a98b76c800f56ccb5f7cbef4c
MD5 dcfbd464dd79adb450fe9a6c804df9b1
BLAKE2b-256 0f894018d9cb34880ceb216b021a96d424eb88d5b0b4e03516a35ec0d7e11b8c

See more details on using hashes here.

File details

Details for the file resotoappbundler-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for resotoappbundler-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0428efa9ec345756dfd5bf49849e13b250815c66ec90303d4bed45ee6576a2fa
MD5 d14ab0ba433be513e09157484e1b92d7
BLAKE2b-256 475ef4eab0431243ac812d9d32147a1cd0e52496a5bdc71b9890117354e884ce

See more details on using hashes here.

Supported by

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