Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
Update README notes to point to legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Derrett committed Sep 6, 2017
1 parent 18280dd commit 35c4e59
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ python-librato

A Python wrapper for the Librato Metrics API.

## Source-based Librato users (legacy)
Starting in version 3, we have deprecated Dashboards and Instruments in favor of Spaces and Charts.
## Documentation Notes

- New accounts
- Refer to [master](https://github.com/librato/python-librato/tree/master) for the latest documentation.
- Legacy (source-based) Librato users
- Please see the [legacy documentation](https://github.com/librato/python-librato/tree/v2.1.2)

## Installation

Expand Down Expand Up @@ -320,13 +324,6 @@ alert.add_condition_for('metric_name').stops_reporting_for(5) # duration in minu
alert.save()
```

Restrict the condition to a specific source (default is `*`):
```python
alert = api.create_alert('my.alert')
alert.add_condition_for('metric_name', 'mysource')
alert.save()
```

View all outbound services for the current user
```python
for service in api.list_services():
Expand Down

0 comments on commit 35c4e59

Please sign in to comment.