File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ except:
1414 logger.exception(" Can't add strings and numbers" )
1515```
1616
17- ## Install
17+ ## Installation
1818stackify-python can be installed through pip:
1919``` bash
2020$ pip install -U stackify
@@ -25,19 +25,14 @@ You can also check out the repository and install with setuptools:
2525$ ./setup.py install
2626```
2727
28- ## Setup
28+ ## Configuration
2929Your Stackify setup information can be provided via environment variables. For example:
3030``` bash
3131export STACKIFY_APPLICATION=MyApp
3232export STACKIFY_ENVIRONMENT=Dev
3333export STACKIFY_API_KEY=******
3434```
3535
36- You can optionally provide your API_URL:
37- ``` bash
38- export STACKIFY_API_URL=' http://myapi.stackify.com'
39- ```
40-
4136These options can also be provided in your code:
4237``` python
4338import stackify
@@ -48,6 +43,9 @@ logger.warning('Something happened')
4843
4944## Usage
5045
46+ stackify-python handles uploads in batches of 100 messages at a time on another thread.
47+ When your program exits, it will shut the thread down and upload the remaining messages.
48+
5149Stackify can store extra data along with your log message:
5250``` python
5351import stackify
You can’t perform that action at this time.
0 commit comments