| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you 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. |
| --> |
| |
| # Installation |
| |
| ## Install using pip |
| |
| Otava requires Python 3.10 or later. |
| |
| ```bash |
| pip install apache-otava |
| ``` |
| |
| The default installation includes the Otava library and CLI, with support for CSV, |
| JSON, and Graphite data. Install an extra when you need another service: |
| |
| | Extra | Adds support for | |
| | --- | --- | |
| | `bigquery` | Google BigQuery | |
| | `postgres` | PostgreSQL | |
| | `influxdb` | InfluxDB 3 | |
| | `grafana` | Grafana annotations | |
| | `slack` | Slack notifications | |
| | `all` | All optional integrations | |
| |
| Extras are additive. For example: |
| |
| ```bash |
| pip install 'apache-otava[bigquery]' |
| pip install 'apache-otava[bigquery,postgres]' |
| pip install 'apache-otava[all]' |
| ``` |
| |
| ## Install using Docker |
| |
| Pull the official Docker image: |
| |
| ```bash |
| docker pull apache/otava |
| ``` |
| |
| The Docker image includes all optional integrations. |