- Go to Grafana > Alerting > Notification channels > New channel.
- Type: Telegram. It will ask you for a Bot API Token and a Chat ID.
- Open a chat with BotFather on Telegram.
- Type
/newbot
- Type your bots name. e.g.
Grafana Bot
- Type your bots username. e.g.
a_new_grafana_bot
- You get your Bot API Token. Paste it on Grafana.
- Before making getUpdates (in the next step) you should add your bot into your telegram client and run
/start
. Thus you start chatting with the bot and this room is assigned chat id. (Thanks to @KES777)
In larger applications, you may have one or more internal packages that are either tied together with a main runner script or that provide specific functionality to a larger library you are packaging. We will extend the conventions laid out above to accommodate for this:
helloworld/
│
├── bin/
│
├── docs/
│ ├── hello.md
This template is intended for new projects to provide a structured README file.
[![Badges @ Shields IO][shield-badges]][shields] [![Version?][shield-version]][shields] [![Build passed?][shield-build]][shields] [![Language?][shield-markdown]][shields] [![Tested?][shield-tested]][shields] [![License?][shield-license]][shields]
After you add your public key to your account, you can sign individual commits manually, or configure Git to default to signed commits.
-
Add -S flag to any commit you want to sign:
git commit -S -m "My commit message"
-
Enter the passphrase of your GPG key when asked.
1.2.3[-beta.1][+123] → major.minor.patch[-pre-release][+build]
| | | | |
| | | | +-- build: optional dot-separated build identifiers
| | | +--------- pre-release: optional dot-separated pre-release identifiers build metadata information
| | +-------------- hotfix: make backwards-compatible bug fixes
| +---------------- feature: add functionallity in backwards-compatible manner
import pytest | |
class Helpers: | |
@staticmethod | |
def help_me(): | |
return "no" | |
@pytest.fixture |
# Add the following lines to your .git/config to set other credentials than the default ones used in [Fork Git Client](http://fork.dev/) | |
[credential "https://github.com/username/repository.git"] | |
helper = manager | |
username = username | |
useHttpPath = true |