This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env tarantool | |
require('strict').on() | |
if package.setsearchroot ~= nil then | |
package.setsearchroot() | |
end | |
-- configure cartridge | |
local cartridge = require('cartridge') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fetch from 'node-fetch'; | |
const { Client } = require('@notionhq/client'); | |
const TelegramBot = require('node-telegram-bot-api'); | |
const logger = require('pino')(); | |
export default async function (req, res) { | |
var response = await fetch('https://isdayoff.ru/today'); | |
var isdayoff = await response.text(); | |
if (isdayoff == "1") { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: ubuntu:focal | |
variables: | |
DEBIAN_FRONTEND: noninteractive | |
DOCKER_DRIVER: overlay2 | |
DOCKER_HOST: tcp://localhost:2375 | |
IMAGE_LATEST: $REGISTRY_PATH/$CI_PROJECT_NAME:latest | |
IMAGE_TAG: $REGISTRY_PATH/$CI_PROJECT_NAME:$CI_COMMIT_TAG | |
stages: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"level":"info","ts":1637923356.8744962,"logger":"controller_cluster","msg":"Reconciling Cluster","Request.Namespace":"wfm-test","Request.Name":""} | |
{"level":"info","ts":1637923361.8746305,"logger":"controller_cluster","msg":"Reconciling Cluster","Request.Namespace":"wfm-test","Request.Name":"queue-data"} | |
{"level":"info","ts":1637923361.8747368,"logger":"controller_cluster","msg":"Already owned","Request.Namespace":"wfm-test","Request.Name":"queue-data","Role.Name":"queue-data-instance"} | |
{"level":"info","ts":1637923361.8747442,"logger":"controller_cluster","msg":"Roles reconciled, moving to pod reconcile","Request.Namespace":"wfm-test","Request.Name":"queue-data"} | |
{"level":"info","ts":1637923361.875042,"logger":"topology","msg":"setting cluster weight","namespace":"topology.builtin","uuid":"4f1f8601-bdcd-5ed5-be6f-4126961651e6","weight":"100"} | |
{"level":"info","ts":1637923361.9228444,"logger":"topology","msg":"setting cluster weight","namespace":"topology.builtin","uuid":"45485b1a-0fb3-5ce2-9e31-aaabc0f9f4b0"," |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"level":"info","ts":1637915521.819779,"logger":"topology","msg":"payload","advURI":"queue-data-instance-1-1.queue-data.wfm-test.svc.cluster.local:3301","replicasetUUID":"45485b1a-0fb3-5ce2-9e31-aaabc0f9f4b0"} | |
{"level":"info","ts":1637915521.8198054,"logger":"topology","msg":"roles","roles":["storage","router","migrator","metrics"]} | |
{"level":"info","ts":1637915521.8198128,"logger":"topology","msg":"roles","roles":["storage","router","migrator","metrics"]} | |
{"level":"info","ts":1637915521.8211699,"logger":"controller_cluster","msg":"Topology is down","Request.Namespace":"wfm-test","Request.Name":"queue-data","Pod.Name":"queue-data-instance-1-1"} | |
{"level":"info","ts":1637915521.8214185,"logger":"topology","msg":"payload","advURI":"queue-data-instance-0-0.queue-data.wfm-test.svc.cluster.local:3301","replicasetUUID":"4f1f8601-bdcd-5ed5-be6f-4126961651e6"} | |
{"level":"info","ts":1637915521.8216224,"logger":"topology","msg":"roles","roles":["storage","router","migrator","metrics"]} | |
{"level":"info","ts":1637915521.8217 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package = 'data' | |
version = 'scm-1' | |
source = { | |
url = '/dev/null', | |
} | |
-- Put any modules your app depends on here | |
dependencies = { | |
'cartridge == 2.6.0-1', | |
'cartridge-cli-extensions == 1.1.1-1', | |
'checks == 3.1.0-1', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Configuration: | |
Subjects: space | |
Acknowledgements: true | |
Retention: File - WorkQueue | |
Replicas: 1 | |
Discard Policy: New | |
Duplicate Window: 2m0s | |
Allows Msg Delete: false | |
Allows Purge: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Information for Stream gateway created 2022-02-07T13:06:25Z | |
Configuration: | |
Subjects: gateway, gateway.channel.* | |
Acknowledgements: true | |
Retention: File - WorkQueue | |
Replicas: 1 | |
Discard Policy: New | |
Duplicate Window: 1m0s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/data/jetstream/$G/streams: | |
total 76 | |
drwxr-x--- 4 root root 4096 Feb 8 04:46 anomaly | |
drwxr-x--- 4 root root 4096 Feb 8 05:52 developer | |
drwxr-x--- 4 root root 4096 Feb 8 04:46 event | |
drwxr-x--- 4 root root 4096 Feb 8 04:46 event_changes | |
drwxr-x--- 4 root root 4096 Feb 8 04:46 event_notify_action | |
drwxr-x--- 4 root root 4096 Feb 8 04:46 event_notify_anomaly | |
drwxr-x--- 4 root root 4096 Feb 8 04:46 event_notify_flow | |
drwxr-x--- 4 root root 4096 Feb 8 04:46 event_notify_genesis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ # nats stream report | |
Obtaining Stream stats | |
╭────────────────────────────────────────────────────────────────────────────────────────────────╮ | |
│ Stream Report │ | |
├──────────────────────────┬─────────┬───────────┬──────────┬────────┬──────┬─────────┬──────────┤ | |
│ Stream │ Storage │ Consumers │ Messages │ Bytes │ Lost │ Deleted │ Replicas │ | |
├──────────────────────────┼─────────┼───────────┼──────────┼────────┼──────┼─────────┼──────────┤ | |
│ event_notify_budget │ File │ 1 │ 0 │ 0 B │ 0 │ 0 │ nats-0* │ | |
│ action │ File │ 1 │ 0 │ 0 B │ 0 │ 0 │ nats-0* │ |
OlderNewer