profile
viewpoint
Andrew Privalov negasus @adscompass Bryansk, Russia https://negasus.dev Telegram @negasus

negasus/traefik2-luascript 52

LuaScript middleware for Traefik v2

negasus/haproxy-spoe-go 13

Haproxy SPOE (Stream Processing Offload Engine) Agent Golang implementation

negasus/traefik-plugin-ip2location 10

traefik-plugin-ip2location

negasus/traefik-plugin-bridge 6

Plugin Bridge for Traefik 2

negasus/traefik-plugin-geoip2 5

Traefik2 Plugin GeoIP2

negasus/croncont 1

Simple image for run cron task with call remote URL

negasus/logserver 1

Simple tool for logging HTTP requests

negasus/rplx 1

Golang library for multi-master replication integer variables with TTL

negasus/bindex 0

Bitmap Index

create barnchnegasus/negastatic

branch : master

created branch time in 7 days

created repositorynegasus/negastatic

created time in 7 days

issue commentbalerter/balerter

Не возможно использовать webhook chanel для алетов

When you provide text in payload.body, you can use macros:

$level
$alert_name
$text
$image
$fields
wather777

comment created time in 7 days

issue commentbalerter/balerter

Не возможно использовать webhook chanel для алетов

Попробуй кеш браузера принудительно сбросить. скорее всего страница закешировалась. По этой ссылке я и добавил доступные макросы

wather777

comment created time in 7 days

push eventbalerter/balerter.github.io

deploy

commit sha 0b80f1fb2e8859dbded3b5871da02956b4d77405

deploy

view details

push time in 8 days

issue closedbalerter/balerter

Не возможно использовать webhook chanel для алетов

Попытался использовать webhook chanel для передачи алертов в свой кастомный апи для телеграмм ботов. curl --header 'Content-Type: application/json' --request 'POST' --data '{"chat_id":"-11111111","text":"Тестовая отправка сообщения"}' http://proxy-api-url:8080/sendMessage но в https://balerter.com/0.9.1/configuration/channels.html#type-webhook Я сделал пытался сделать по аналогии с curl

channels:
  webhook:
    - name: wh1
      settings:
        url: http://proxy-api-url:8080/sendMessage
        method: POST
        payload:
          queryParams:
            chat_id: "-11111111"
            text: Алерт <----- Нельзя менять из скрипта
          body: body content <----- Нельзя менять из скрипта
        timeout: 5000
        headers:
            Content-Type: application/json
      ignore: false

нельзя менять текст параметра text....

closed time in 8 days

wather777

issue commentbalerter/balerter

Не возможно использовать webhook chanel для алетов

Обновил документацию с указанием возможных макросов для поля payload.body

wather777

comment created time in 8 days

startedbrentp/intintmap

started time in 8 days

startedgo-faster/ch

started time in 18 days

starteduptrace/uptrace

started time in 21 days

PR opened uber-go/zap

add F* funcs that allows use `func() []Fields` as arguments

This PR add new public funcs with signature (msg string, fields ...FieldsFunc), where FieldsFunc is type FieldsFunc func() []Field

  • FDebug
  • FInfo
  • FWarn
  • FError
  • FDPanic
  • FPanic
  • FFatal

This approach allows you to perform the calculation of field values only when the message is actually displayed in the log.

An example:

func main() {
	logger, _ := zap.NewProduction()

	logger.FDebug("hello world", fields)
}

func fields() []zap.Field {
	// Here we do any heavy operations
	// and add fields for logging
	// This function is not called if the level is not appropriate
	
	return []zap.Field{
		// ...
	}
}
+142 -0

0 comment

3 changed files

pr created time in a month

create barnchnegasus/zap

branch : feature/lazy-funcs

created branch time in a month

fork negasus/zap

Blazing fast, structured, leveled logging in Go.

https://pkg.go.dev/go.uber.org/zap

fork in a month

push eventbalerter/balerter.github.io

deploy

commit sha 0c9f723371b89c5a4d58d43868ecba5ee86266af

deploy

view details

push time in a month

created tagbalerter/balerter

tagv0.9.1

Script Based Alerting Manager

created time in a month

release balerter/balerter

v0.9.1

released time in a month

delete branch balerter/balerter

delete branch : feature/http-ssl-no-verify

delete time in a month

push eventbalerter/balerter

Andrew Privalov

commit sha 02511623d5f8539d8e8412aba6fd99403f03612f

add options for http.request (#67) - insecureSkipVerify - timeout

view details

push time in a month

PR merged balerter/balerter

add options for http.request
  • insecureSkipVerify
  • timeout
+145 -53

1 comment

8 changed files

negasus

pr closed time in a month

PR opened balerter/balerter

add options for http.request
  • insecureSkipVerify
  • timeout
+145 -53

0 comment

8 changed files

pr created time in a month

create barnchbalerter/balerter

branch : feature/http-ssl-no-verify

created branch time in a month

startedbalerter/balerter

started time in a month

pull request commentnegasus/haproxy-spoe-go

feat: support for decoding IPv6 addresses

Thanks! Merged and published v1.0.3

lwimmer

comment created time in a month

created tagnegasus/haproxy-spoe-go

tagv1.0.3

Haproxy SPOE (Stream Processing Offload Engine) Agent Golang implementation

created time in a month

release negasus/haproxy-spoe-go

v1.0.3

released time in a month

push eventnegasus/haproxy-spoe-go

Andrew Privalov

commit sha deb7b3c807ab11d7f5831ab1f85881270d179a7a

update changelog

view details

push time in a month

push eventnegasus/haproxy-spoe-go

Leonhard Wimmer

commit sha 9e3b6d689ea71b22c6818096d8a69e91a900347a

feat: support for decoding IPv6 addresses (#11)

view details

push time in a month

PR merged negasus/haproxy-spoe-go

feat: support for decoding IPv6 addresses

TypeIPv6 is not implemented in typeddata.go.

This PR adds support for parsing IPv6 addresses.

+5 -0

0 comment

1 changed file

lwimmer

pr closed time in a month

delete branch balerter/balerter

delete branch : fix/resend2

delete time in a month

push eventbalerter/balerter

Andrew Privalov

commit sha 795bf8f3894c165f36af50dca963058acb5701ea

add missed 'resend' alert options behavior for API (#66)

view details

push time in a month

more