Commit Graph

12 Commits

Author SHA1 Message Date
Martin Chacon Piza 91022f3e80 Remove project content on master branch
This is step 2b of repository deprecation process as described in [1].

[1] https://docs.openstack.org/project-team-guide/repository.html#step-2b-remove-project-content

Change-Id: Ie446c1cd447789d189a9e723fff9ee783dd3cf4f
2021-02-22 14:57:15 +01:00
Witold Bedyk 9bb918197e Fix cross-tenant logs submission
* add 'delegate_roles' configuration option

Change-Id: If4952b84536ef058d91f6ee2332076dc448d97bd
2017-06-03 14:19:52 +02:00
Jenkins 7e95dddbb7 Merge "Typo fix: adress => address" 2017-03-28 05:08:30 +00:00
Steve Simpson ec33e041cb Specification for log listing API
Initial specification for first log query API, which simply allows
retrieval of logs based on matching a set of dimension values within a
given time range. This API is based heavily on the metrics measurement
listing API for consistency between the logs and metrics services.

Change-Id: I9ecba61095c73be18a73cb83b930235cf62da55e
Partially-Implements: blueprint log-query-api
2017-03-03 09:34:05 +00:00
Anh Tran 1d1815fd61 Typo fix: adress => address
Change-Id: I900d8948e58f0373bfd1396ad2d3650a6eeed417
2017-02-07 11:24:55 +07:00
Tomasz Trębski 04030115db Migrate testing to ostestr and adding docs
Following commits not only enables running
unit tests with ostestr, like other
OS projects, but also:
* enables covarage with testr
* enables building documentation with build_sphinx commands

Additionally:
* tox.ini was organized a bit

Change-Id: I2a21f9cee0e00f7148142465a8fc131ef4ff6f44
2017-01-17 12:53:54 +01:00
Tomasz Trębski 91f318e8db Optimize bulk processing
Commit provides several optimization
for bulk processing

* using one loop less during bulk processing
* refactored dimensions merging
* simplified envelope validation
* simplified dimension validation (less ifs)

Change-Id: I833d9a53a33ede44b6d5eb300e98162f70d50116
2016-07-18 07:30:02 +02:00
Tomasz Trębski c3bb9b9eb4 Monitoring for monasca-log-api
Following commit adds monitoring
for monasca-log-api with metrics:
* monasca.log.in_logs - amount of logs that API has received
* monasca.log.in_logs_rejected - size of received logs in bytes
* monasca.log.processing_time_ms - log-api time to process received logs
* monasca.log.out_logs - amount of logs pubslished to kafka
* monasca.log.out_logs_lost - amount of logs that were lost (critical errors)
* monasca.log.publish_time_ms - time log-api needed to pubslish logs
* monasca.log.in_bulks_rejected - amount of rejected bulk requests
* monasca.log.out_logs_truncated_bytes - amount of truncated bytes from messages

Change-Id: Ib4165fe128e87b356415da8423f536d393c89f01
2016-07-14 08:08:58 +02:00
Tomasz Trębski fb6e057ced Documentation fix
Documentation did not match code.
This commit fixes that problem.

Change-Id: I82e2a33080273792dbb3bfed3c85b583b7d658bc
2016-06-03 08:27:43 +02:00
Tomasz Trębski 412892aed2 Adding healthcheck
Healthcheck allows to verify if:
 - API is up and running
 - Kafka, that monasca-log-api sends data to, is up and running
 and an expected topic can be found there.

Other:
- added documentation entries

Change-Id: I316c1d9518cfed37119f11c326c071bfbfc7658e
2016-02-22 12:49:21 +01:00
Tomasz Trębski 33e9d7aaa3 Security update for monasca-log-api
Created middleware to authorize access
to log api. Only configured roles (i.e. default) can access
the api. Also middleware detect if the request would
come from monasca-log-agent.

Summary:
- middleware added (logic + tests)
- extended documentation

Additionaly:
- added better tox processing
- added minimum coverage

Change-Id: Ic848bfa3a8552887661f8223078efe3a4bca5c37
2015-12-17 11:27:12 +01:00
Tomasz Trębski 59f58c7553 Documentation update
- added documentation for kafka configuration
- moved python documentation to own part
 - added section for coverage and building

Change-Id: I0998c955ee652bbe32af152b9c1ae894f06c1396
2015-12-08 11:37:23 +01:00